mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
4befb3015c
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.
22 lines
739 B
Plaintext
22 lines
739 B
Plaintext
==========================
|
|
Django 1.6.2 release notes
|
|
==========================
|
|
|
|
*Under development*
|
|
|
|
This is Django 1.6.2, a bugfix release for Django 1.6.
|
|
|
|
Bug fixes
|
|
=========
|
|
|
|
* Prevented the base geometry object of a prepared geometry to be garbage
|
|
collected, which could lead to crash Django (#21662).
|
|
|
|
* Fixed a crash when executing the :djadmin:`changepassword` command when the
|
|
user object representation contained non-ASCII characters (#21627).
|
|
|
|
* The :djadmin:`collectstatic` command will raise an error rather than
|
|
default to using the current working directory if :setting:`STATIC_ROOT` is
|
|
not set. Combined with the ``--clear`` option, the previous behavior could
|
|
wipe anything below the current working directory.
|