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


Ignore:
Timestamp:
07/21/16 14:13:52 (6 years ago)
Author:
Rostyslav Bryzgunov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25598, comment 8

    v3 v4  
    33== Why? ==
    44
    5 But before that, here are some reasons to do it:
     5But before I make the patch, here are some reasons to do it.
     6
     7The first reason is '''consistency''' inside Django core:
    68
    79* `{% url '...' %}` template tag does respect `SCRIPT_NAME` but `{% static '...' %}` does not
    810* `reverse(...)` function does respect `SCRIPT_NAME` but `static(...)` does not
    9 
    10 So the first reason is '''consistency''' inside Django core.
    1111
    1212And 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.
Back to Top