I was going through the tutorial and following directions (I think)
when it instructed me to decouple the url confs near the end of part 3
of the Django Tutorial. After I did this, I was no longer able to
reach the admin page. Now, whenever I try to reach the admin, I get
this error message:

TemplateSyntaxError at /admin/

Caught an exception while rendering: Tried vote in module
mysite.player_info.views. Error was: 'module' object has no attribute
'vote'

which is weird since I am typing http://127.0.0.1:8000/admin/ as the
url and this has nothing to do with the line:

(r'^(?P<poll_id>\d+)/vote/$', 'vote'),

in the urlconf.

What might have happened?

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to