#19419: Error in login template example
-------------------------------+--------------------------------------
Reporter: oduvan | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.4
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by oduvan):
so maybe an error with url tag?
python 2.7 Django 1.4.2
{% url django.contrib.auth.views.login %} - works
{% url 'django.contrib.auth.views.login' %} - exception
Exception Value:
Reverse for ''django.contrib.auth.views.login'' with arguments '()' and
keyword arguments '{}' not found.
( in exception value 2 single quotes in one side and 2 single quotes in
another side of the name of function )
And this is how it add in urls.py
{{{
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/19419#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.