summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests
AgeCommit message (Collapse)Author
2014-02-13[1.6.x] Added a missing import in staticfiles tests.Tim Graham
2014-02-12[1.6.x] Reworked the detection of local storages for the collectstatic command.Loic Bistuer
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. Backport of 7e27885c6e7588471fd94a4def16b7081577bdfc from master.
2013-12-31[1.6.x] Fixed #21581 -- Fixed a number of issues with collectstatic.Loic Bistuer
When STATIC_ROOT wasn't set, collectstatic --clear would delete every files within the current directory and its descendants. This patch makes the following changes: Prevent collectstatic from running if STATIC_ROOT isn't set. Fixed an issue that prevented collectstatic from displaying the destination directory. Changed the warning header to notify when the command is run in dry-run mode. Backport of 4befb3015c from master
2013-04-28Fixed #18986 -- Improved error message for missing filesAymeric Augustin
in CachedStaticFilesStorage. Thanks zyegfryed for his work on the patch.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner