Opened 16 years ago

Closed 9 years ago

#8079 closed Bug (wontfix)

Admindocs bookmarklets assume a single admin site

Reported by: MattBowen Owned by: Ben Spaulding
Component: contrib.admindocs Version: dev
Severity: Normal Keywords: admindocs, admin
Cc: Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In django.contrib.admindocs.views.bookmarklets, to generate the bookmarklets, the function assumes (in lines 34-35)

  1. Admin docs will be at admin/docs
  2. There is only one admin site

It uses these two assumptions to determine the urls of the admindocs and of the admin site for generating the URLs the bookmarklets need to communicate with the admin interface. Using named URLs from #7810 makes (1) easy to fix. That will only fix one bookmarklet (the one that goes to the documentation pages). (2) is a faulty assumption though; there can now be multiple admin sites.

From what I can tell, the bookmarklets page of the admindocs app needs to be rethought now that there can be multiple admin sites; it seems that each admin site needs its own bookmarklets.

Change History (11)

comment:1 by Eric Holscher, 16 years ago

milestone: post-1.0
Owner: changed from nobody to Eric Holscher
Status: newassigned

comment:2 by Eric Holscher, 16 years ago

Triage Stage: UnreviewedSomeday/Maybe

comment:3 by Eric Holscher, 16 years ago

Owner: Eric Holscher removed
Status: assignednew

comment:4 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:5 by Luke Plant, 14 years ago

Severity: Normal
Type: Bug

comment:6 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:7 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:8 by Aymeric Augustin, 12 years ago

Component: contrib.admincontrib.admindocs

comment:9 by Ben Spaulding, 9 years ago

Owner: set to Ben Spaulding
Status: newassigned

comment:10 by Ben Spaulding, 9 years ago

I think this bug should be marked as wontfix because the bookmarklets in question do not work any more, and have not in years (since #13285 was closed). And adding multi-admin support would be difficult and messy. Finally, if ticket #25115 is accepted, this ticket will no longer be valid.

comment:11 by Aymeric Augustin, 9 years ago

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.
Back to Top