Opened 13 years ago
Closed 13 years ago
#18516 closed Cleanup/optimization (invalid)
NoReverseMatch error when following authentication tutorial
Description ¶
Page: https://docs.djangoproject.com/en/dev/topics/auth/
Fix: no quotes in
<form method="post" action="{% url 'django.contrib.auth.views.login' %}">
e.g.
<form method="post" action="{% url django.contrib.auth.views.login %}">
See also: http://stackoverflow.com/questions/4981026/no-reverse-match-error
Note:
See TracTickets
for help on using tickets.
You're most likely using the docs for the development version of Django, while running the code of Django 1.4.
The are a few dozen similar tickets in this tracker if you need more explanations.