Code

Opened 2 years ago

Closed 2 years ago

#18121 closed Bug (invalid)

url tag reversing doesn't work with login in quotes

Reported by: rissko@… Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Documentation for auth application uses {% url 'django.contrib.auth.views.login' %} which doesn't work - should be {% url django.contrib.auth.views.login %}, which works well.

Used in:
https://docs.djangoproject.com/en/1.4/topics/auth/
https://docs.djangoproject.com/en/dev/topics/auth/

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Did you notice the {% load url from future %} at the top of the template? This is the new syntax for the url tag. Please, use first support channels before opening tickets.
https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.