Changes between Initial Version and Version 1 of Ticket #25519, comment 3
- Timestamp:
- Oct 6, 2015, 2:59:03 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25519, comment 3
initial v1 4 4 I replaced `'site_url': self.site_url,` in my `django.contrib.admin.sites.AdminSite#each_context` to `'site_url': get_script_prefix(),` and then I got expected result. 5 5 6 6 IMHO we don't need `self.site_url == '/'` check since `site_url` is used only once and `get_script_prefix()` returns `/` for sites hosted at root.