Opened 12 years ago
Closed 12 years ago
#18516 closed Cleanup/optimization (invalid)
NoReverseMatch error when following authentication tutorial
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
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
Change History (1)
comment:1 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version 0, edited 12 years ago by (next)
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 other tickets in this tracker if you need more explanations.