Added documentation for collectstatic --clear. (#42007) (#45860)

* Added documentation for collectstatic --clear.

Added a description of the --clear argument used with the Django management
command, collectstatic. (When #1810 added this feature the documentation
was not updated).
(cherry picked from commit f964277628)
This commit is contained in:
John R Barker 2018-09-25 17:05:15 +01:00 committed by Alicia Cozine
parent 0d40e4bd23
commit 518c90dc68

View file

@ -54,6 +54,13 @@ options:
description:
- The name of the table used for database-backed caching. Used by the 'createcachetable' command.
required: false
clear:
description:
- Clear the existing files before trying to copy or link the original file.
- Used only with the 'collectstatic' command. The C(--noinput) argument will be added automatically.
required: false
default: no
type: bool
database:
description:
- The database to target. Used by the 'createcachetable', 'flush', 'loaddata', and 'syncdb' commands.