Changes between Version 2 and Version 3 of Ticket #25598, comment 8
- Timestamp:
- Jul 21, 2016, 8:55:34 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25598, comment 8
v2 v3 10 10 So the first reason is '''consistency''' inside Django core. 11 11 12 And the second reason is that there is no wayto make it work in case when `SCRIPT_NAME` is a ''dynamic value'' - see an example below.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. 13 13 14 14 Of 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.