Opened 15 years ago

Closed 15 years ago

#11080 closed (duplicate)

Named URL pattern for admin logout is missing

Reported by: Sebastian Rahlf Owned by: nobody
Component: contrib.admin Version: dev
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 15 years ago.

Download all attachments as: .zip

Change History (3)

by Sebastian Rahlf, 15 years ago

Attachment: sites.patch added

comment:1 by Sebastian Rahlf, 15 years ago

Component: Uncategorizeddjango.contrib.admin

comment:2 by Alex Gaynor, 15 years ago

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