mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #16161 -- Added --clear option to collectstatic management command to be able to explicitly clear the files stored in the destination storage before collecting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -213,6 +213,9 @@ Django 1.4 also includes several smaller improvements worth noting:
|
||||
to the :mod:`django.contrib.auth.utils` module. Importing it from the old
|
||||
location will still work, but you should update your imports.
|
||||
|
||||
* The :djadmin:`collectstatic` management command gained a ``--clear`` option
|
||||
to delete all files at the destination before copying or linking the static
|
||||
files.
|
||||
|
||||
.. _backwards-incompatible-changes-1.4:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user