Branch: refs/heads/stable/1.6.x
Home:
https://github.com/django/django
Commit: 3fd16e6261f9c19a68ba69f1d97027a6eaf3a22b
https://github.com/django/django/commit/3fd16e6261f9c19a68ba69f1d97027a6eaf3a22b
Author: Loic Bistuer <
loic.b...@sixmedia.com>
Date: 2013-12-31 (Tue, 31 Dec 2013)
Changed paths:
M django/conf/global_settings.py
M django/contrib/staticfiles/management/commands/collectstatic.py
M django/contrib/staticfiles/storage.py
M docs/ref/settings.txt
M docs/releases/1.6.2.txt
M tests/staticfiles_tests/tests.py
Log Message:
-----------
[1.6.x] Fixed #21581 -- Fixed a number of issues with collectstatic.
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