Re: NoReverseMatch Error
On Tue, Aug 14, 2012 at 10:46 AM, Serge G. Spaolonzi <serge@cobalys.com> wrote:
Try removing the quotes from 'polls.views.vote':<form action="{% url polls.views.vote poll.id %}" method="post">
Note that will work for 1.4 but it's doing things the old way, and that will break in 1.5. Much better to add {% import url from future %} and have code that will continue to work with the next release of Django. Removing the quotes is not the best approach at this time.
Karen
http://tracey.org/kmt/
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home