[django/django] 4befb3: Fixed #21581 -- Fixed a number of issues with coll...

16 views
Skip to first unread message

GitHub

unread,
Dec 31, 2013, 3:04:10 PM12/31/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 4befb3015c26810a68cfcf57e0cd8b062f56f1c5
https://github.com/django/django/commit/4befb3015c26810a68cfcf57e0cd8b062f56f1c5
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:
-----------
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.


Reply all
Reply to author
Forward
0 new messages