Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18737 closed Bug (invalid)

Incorrect use of {% url %} in auth forms docs

Reported by: peppelorum Owned by: nobody
Component: Documentation Version: 1.3
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


There seems to be an incorrect use of the url templatetag in the auth forms example at

<form method="post" action="{% url 'django.contrib.auth.views.login' %}">

should be

<form method="post" action="{% url django.contrib.auth.views.login %}">

Change History (3)

comment:1 Changed 3 years ago by Alex

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

That template uses {% load url from future %} so it is in fact, correct.

comment:2 Changed 3 years ago by julien

Thanks anyway for the report! :)

comment:3 Changed 3 years ago by peppelorum

Ah, darn, totally missed that {% load url from future %}. Anyway, thanks for a excellent job =)

Note: See TracTickets for help on using tickets.
Back to Top