Opened 13 years ago

Closed 13 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 Aymeric Augustin, 13 years ago

Resolution: invalid
Status: newclosed

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.

Last edited 13 years ago by Aymeric Augustin (previous) (diff)
Note: See TracTickets for help on using tickets.
Back to Top