Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure relative STATIC_URLs are supported
This is a new feature added in Django 3.1. We now use the `get_script_prefix` function rather than the `FORCE_SCRIPT_NAME` setting so we handle the case where the script prefix is supplied from the webserver rather than from settings.
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters