Changes between Initial Version and Version 1 of Ticket #25519, comment 3


Ignore:
Timestamp:
Oct 6, 2015, 2:59:03 PM (9 years ago)
Author:
Dheerendra Rathor

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25519, comment 3

    initial v1  
    44I 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.
    55 
    6 
     6IMHO 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.
Back to Top