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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25598, comment 8

    v2 v3  
    1010So the first reason is '''consistency''' inside Django core.
    1111
    12 And 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.
     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.
    1313
    1414Of 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.
Back to Top