Code

Opened 2 years ago

Closed 2 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

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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 2 years ago by aaugustin (previous) (diff)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.