title: Django Tutorial Part 3 - Index.html not doing anything
body: <p>I am working on part 3 of the django tutorial and after setting up index.html and views although nothing is happening.</p>
  
  <p>This is what the tutorial says should be happening, "Load the page by pointing your browser at “/polls/”, and you should see a bulleted-list containing the “What’s up” question from Tutorial 1. The link points to the question’s detail page."</p>
  
  <p>The list doesn't show up, all I see if "Hello, world. You're at the polls index."</p>
  
  <p>These are my files:</p>
  
  <pre><code>from django.http import HttpResponse
  from django.shortcuts import render
  
  from polls.models import Question
  
  
  def index(request):
      latest_question_list = Question.objects.order_by('-pub_date')[:5]
      context = {'latest_question_list': latest_question_list}
      return render(request, 'polls/index.html', context)
  
  
  def index(request):
      return HttpResponse("Hello, world. You're at the polls index.")
  
  def detail (request, question_id):
      return HttpResponse("You're looking at question %s." % question_id)
  
  def results(request, question_id):
      response = "Your looking at the results of question %s."
      return HttpResponse(response % question_id)
  
  def vote(request, question_id):
      return HttpResponse("You're voting on question %s." % question_id)
  </code></pre>
  
  <p>Views.py</p>
  
  <pre><code>{% if latest_question_list %}
      &lt;ul&gt;
      {% for question in latest_question_list %}
          &lt;li&gt;&lt;a href="/polls/{{ question.id }}/"&gt;{{ question.question_text }}&lt;/a&gt;&lt;/li&gt;
      {% endfor %}
      &lt;/ul&gt;
  {% else %}
      &lt;p&gt;No polls are available.&lt;/p&gt;
  {% endif %}
  </code></pre>
  
  <p>Index.Html (located in mysite/polls/templates/polls)</p>
  
  <pre><code>from django.conf.urls import patterns, url
  
  from polls import views
  
  urlpatterns = patterns('',
      # ex: /polls/
      url(r'^$', views.index, name='index'),
      # ex: /polls/5/
      url(r'^(?P&lt;question_id&gt;\d+)/$', views.detail, name='detail'),
      # ex: /polls/5/results/
      url(r'^(?P&lt;question_id&gt;\d+)/results/$', views.results, name='results'),
      # ex: /polls/5/vote/
      url(r'^(?P&lt;question_id&gt;\d+)/vote/$', views.vote, name='vote'),
  )
  </code></pre>
  
  <p>Urls.py</p>
  
  <p>I'm not sure why nothing is happening, what I may be doing wrong. Any suggestions? Thanks!</p>