Opened 8 years ago

Closed 8 years ago

#11080 closed (duplicate)

Named URL pattern for admin logout is missing

Reported by: Sebastian Rahlf Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I stumbled over this section by accident.

url(r'^$',
  wrap(self.index),
 name='%sadmin_index' % self.name),
url(r'^logout/$',
  wrap(self.logout),
  name='%sadmin_logout'),

Seems that the string substitution for the named URL pattern of the logout link is missing.

Attachments (1)

sites.patch (585 bytes) - added by Sebastian Rahlf 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Sebastian Rahlf

Attachment: sites.patch added

comment:1 Changed 8 years ago by Sebastian Rahlf

Component: Uncategorizeddjango.contrib.admin

comment:2 Changed 8 years ago by Alex Gaynor

Resolution: duplicate
Status: newclosed

Marking as a dupe of #10061 since this is solved here, and this fix alone doesn't fix the myriad of problems with logout.

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