title: Django Tutorial - Poll Error 404 when viewing details
body: <p>I am following <a href="https://docs.djangoproject.com/en/1.8/intro/tutorial03/" rel="nofollow">https://docs.djangoproject.com/en/1.8/intro/tutorial03/</a>
  I have configured my project directory the way in it is done in tutorial.
  I was configuring urls for polls. According to tutorial i have defined detail,results,vote in views.py and poll urls in urls.py of polls which is defined in project directory's urls.py. 
  When I access </p>
  
  <p>localhost:8000/polls/</p>
  
  <p>it works.
  But when i try to access details of a poll as they described it throws a 404.I tried my actual question ids but all in vain.<br>
  In Docs they say " at “/polls/34/”. It’ll run the detail() method"
  But for me it throws 404</p>
  
  <p>localhost:8000/polls/34/</p>
  
  <pre><code>Using the URLconf defined in DjangoFirst.urls, Django tried these URL patterns, in this order:
  ^polls ^$ [name='index']
  ^polls ^(?P&lt;question_id&gt;[0-9]+)/$ [name='detail']
  ^polls ^(?P&lt;question_id&gt;[0-9]+)/results/$ [name='results']
  ^polls ^(?P&lt;question_id&gt;[0-9]+)/votes/$ [name='vote']
  ^admin/
  The current URL, polls/34/, didn't match any of these.
  </code></pre>
  
  <p>Here's my urls.py located in ProjectName/ProjectName/urls.py</p>
  
  <pre><code>from django.conf.urls import include, url
  from django.contrib import admin
  
  urlpatterns = [
      url (r'^polls', include('polls.urls')),
      url(r'^admin/', include(admin.site.urls)),
  
  ]
  </code></pre>
  
  <p>Here's my polls urls.py located in ProjectName/polls/urls.py</p>
  
  <pre><code>from django.conf.urls import url
  
  from . import views
  
  urlpatterns = [
      url(r'^$', views.index, name='index'),
      url(r'^(?P&lt;question_id&gt;[0-9]+)/$', views.detail, name='detail'),
      url(r'^(?P&lt;question_id&gt;[0-9]+)/results/$', views.results, name='results'),
      url(r'^(?P&lt;question_id&gt;[0-9]+)/votes/$', views.vote, name='vote'),
  ]
  </code></pre>
  
  <p>Here's my polls view</p>
  
  <pre><code>from django.http import HttpResponse
  
  
  def index(request):
      return HttpResponse("Hello World")
  
  def detail(request, question_id):
      return HttpResponse("You are looking at question %s." % question_id)
  
  def results(request,  question_id):
      response =  "You are looking at response of question %s."
      return HttpResponse(response % question_id)
  
  def vote(request, question_id):
      return HttpResponse("You are voting on question %s." % question_id)
  </code></pre>
  
  <p>I can't find what is wrong with my code. Help Me Please? </p>