It looks to me like your line 21 is outside the patterns set so it's
just a line of code hanging out there on its own.

Try this,

urlpatterns = patterns('',
    (r'^$', 'SITENAME.polls.views.current_datetime'),
    (r'^polls/$', 'SITENAME.polls.views.index'),
    (r'^polls/(?P<poll_id>\d+)/$', 'SITENAME.polls.views.detail'),
    (r'^polls/(?P<poll_id>\d+)/results/$', 'SITENAME.polls.views.results'),
    (r'^polls/(?P<poll_id>\d+)/vote/$', 'SITENAME.polls.views.vote'),
    (r'^admin/(.*)', admin.site.root),
)

Wayne

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to