Changes between Version 1 and Version 2 of Ticket #25598, comment 8


Ignore:
Timestamp:
Jul 21, 2016, 8:55:13 AM (8 years ago)
Author:
Rostyslav Bryzgunov

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25598, comment 8

    v1 v2  
    1010So the first reason is '''consistency''' inside Django core.
    1111
     12And the second reason is that there is no way to make it work in case when `SCRIPT_NAME` is a ''dynamic value'' - see an example below.
     13
    1214Of course we shouldn't modify `STATIC_URL` when it's an ''absolute URL'', with domain & protocol. But if it starts with `/` - it's ''relative'' to our Django project and we need to add `SCRIPT_NAME` prefix.
    1315
Back to Top