#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 , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 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.
That template uses
{% load url from future %}
so it is in fact, correct.