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


Ignore:
Timestamp:
10/06/15 19:59:03 (7 years ago)
Author:
Dheerendra Rathor
Comment:

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