Yesterday I was working on my first app using this tutorial. It\'s a Poll and Choice app. The first page displays the question and when you click on the question it\'s suppose t
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings
urlpatterns = patterns('myapp.views',
url(r'^$', 'index', name="index"),
url(r'^(?P\d+)/$', 'detail', name="detail"),
url(r'^(?P\d+)/results/$', 'results', name="results"),
url(r'^(?P\d+)/vote/$', 'vote', name="vote"),
)
----------------------------------
{{ poll.question }}
{% if error_message %}{{ error_message }}
{% endif %}