summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@sixmedia.com>2014-02-12 22:07:23 +0700
committerTim Graham <timograham@gmail.com>2014-02-12 11:00:01 -0500
commit7e27885c6e7588471fd94a4def16b7081577bdfc (patch)
tree1ecf0b9d552de8ea630831385112a0a451af3f00 /tests/admin_scripts
parent73f51e411372ba3e74ccf5a2c2be88927ac2c6dd (diff)
Reworked the detection of local storages for the collectstatic command.
Before 4befb30 the detection was broken because we used isinstance against a LazyObject rather than against a Storage class. That commit fixed it by looking directly at the object wrapped by LazyObject. This could however be a problem to anyone who subclasses the collectstatic management Command and directly supplies a Storage class. Refs #21581.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions