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)
pull/46133/head
John R Barker 6 years ago committed by Alicia Cozine
parent 0d40e4bd23
commit 518c90dc68

@ -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.

Loading…
Cancel
Save