[Django] #20783: Outdated Template Style in Authentication Sample Login Template

3 views
Skip to first unread message

Django

unread,
Jul 20, 2013, 7:46:12 PM7/20/13
to django-...@googlegroups.com
#20783: Outdated Template Style in Authentication Sample Login Template
-------------------------------+-------------------------
Reporter: jonah@… | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.5
Severity: Normal | Keywords: url, update
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+-------------------------
If you view the sample login template code for the Django Authentication
documentation, you can see that the url template tag is incorrect, the URL
name is not quoted as it should be.

https://docs.djangoproject.com/en/dev/topics/auth/default/

--
Ticket URL: <https://code.djangoproject.com/ticket/20783>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 21, 2013, 5:47:01 AM7/21/13
to django-...@googlegroups.com
#20783: Outdated Template Style in Authentication Sample Login Template
-------------------------------+--------------------------------------
Reporter: jonah@… | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: worksforme

Keywords: url, update | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by bmispelon):

* status: new => closed
* needs_docs: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_better_patch: => 0


Comment:

Hi,

The two instances of `{% url %}` in the link you gave are correct.

I checked for the 1.5 version and they are correct there too.

--
Ticket URL: <https://code.djangoproject.com/ticket/20783#comment:1>

Django

unread,
Jul 21, 2013, 12:10:03 PM7/21/13
to django-...@googlegroups.com
#20783: Outdated Template Style in Authentication Sample Login Template
-------------------------------+--------------------------------------
Reporter: jonah@… | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: worksforme

Keywords: url, update | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by jonah@…):

Oh, very odd. I could have sworn I copy - pasted the code and had to fix
it. My mistake.

--
Ticket URL: <https://code.djangoproject.com/ticket/20783#comment:2>

Django

unread,
Jul 21, 2013, 12:10:42 PM7/21/13
to django-...@googlegroups.com
#20783: Outdated Template Style in Authentication Sample Login Template
-------------------------------+--------------------------------------
Reporter: jonah@… | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: invalid

Keywords: url, update | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by anonymous):

* resolution: worksforme => invalid


--
Ticket URL: <https://code.djangoproject.com/ticket/20783#comment:3>

Reply all
Reply to author
Forward
0 new messages