Opened 16 years ago
Closed 16 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)
Change History (3)
by , 16 years ago
| Attachment: | sites.patch added | 
|---|
comment:1 by , 16 years ago
| Component: | Uncategorized → django.contrib.admin | 
|---|
comment:2 by , 16 years ago
| Resolution: | → duplicate | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Marking as a dupe of #10061 since this is solved here, and this fix alone doesn't fix the myriad of problems with logout.