summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@sixmedia.com>2014-01-09 22:03:37 +0700
committerTim Graham <timograham@gmail.com>2014-01-11 08:20:28 -0500
commit1e9e7351f88a59261da6e616934c8283a6e3e565 (patch)
tree0489ce84986c084c2434bcb6bf86e9cd16c98d36 /tests/admin_scripts
parent18374c1d8c37dd251dae72470b6c532bddf140eb (diff)
Fixed #21750 -- Fixed regression introduced by 4befb30.
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.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions