<a href="{% url 'polls:detail' poll.id }/">What's up?</a>
Before I switched to the generic views code, all was working fine. To do the swithc, I simply cut and pasted the code from the Part 4 page to my pages (polls/urls.py and polls/views.py,according to https://docs.djangoproject.com/en/1.5/intro/tutorial04/). Now, of course, when I click on the link, I get an error.
Any suggestions would be much appreciated.
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment