Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20783 closed Bug (invalid)

Outdated Template Style in Authentication Sample Login Template

Reported by: jonah@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords: url, update
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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/

Change History (3)

comment:1 Changed 3 years ago by Baptiste Mispelon

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: worksforme
Status: newclosed

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.

comment:2 Changed 3 years ago by jonah@…

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

comment:3 Changed 3 years ago by anonymous

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