Admindocs bookmarklets assume a single admin site
In django.contrib.admindocs.views.bookmarklets, to generate the bookmarklets, the function assumes (in lines 34-35)
- Admin docs will be at admin/docs
- 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)
milestone: |
→ post-1.0
|
Owner: |
changed from nobody to Eric Holscher
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Someday/Maybe
|
Owner: |
Eric Holscher removed
|
Status: |
assigned → new
|
Severity: |
→ Normal
|
Type: |
→ Bug
|
Component: |
contrib.admin → contrib.admindocs
|
Owner: |
set to Ben Spaulding
|
Status: |
new → assigned
|
Resolution: |
→ wontfix
|
Status: |
assigned → closed
|
Milestone post-1.0 deleted