Opened 12 years ago

Closed 12 years ago

Last modified 12 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

Description

There seems to be an incorrect use of the url templatetag in the auth forms example at https://docs.djangoproject.com/en/1.3/topics/auth/

<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 by Alex Gaynor, 12 years ago

Resolution: invalid
Status: newclosed

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

comment:2 by Julien Phalip, 12 years ago

Thanks anyway for the report! :)

comment:3 by peppelorum, 12 years ago

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