1e9e7351f8
Validating STATIC_ROOT in StaticFilesStorage.__init__ turned out to be problematic - especially with tests - because the storage refuses to work even if there are no actual interactions with the file system, which is backward incompatible. Originally the validation happened in the StaticFilesStorage.path method, but that didn't work as expected because the call to FileSystemStorage.__init__ replaced the empty value by a valid path. The new approach is to move back the check to the StaticFilesStorage.path method, but ensure that the location attribute remains None after the call to super. Refs #21581. |
||
---|---|---|
.. | ||
locale/en/LC_MESSAGES | ||
management | ||
templatetags | ||
__init__.py | ||
apps.py | ||
finders.py | ||
handlers.py | ||
storage.py | ||
testing.py | ||
urls.py | ||
utils.py | ||
views.py |