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

* 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).
pull/45861/head
Stuart MacKay 6 years ago committed by John R Barker
parent 74b94e119e
commit f964277628

@ -54,6 +54,13 @@ options:
description: description:
- The name of the table used for database-backed caching. Used by the 'createcachetable' command. - The name of the table used for database-backed caching. Used by the 'createcachetable' command.
required: false 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: database:
description: description:
- The database to target. Used by the 'createcachetable', 'flush', 'loaddata', and 'syncdb' commands. - The database to target. Used by the 'createcachetable', 'flush', 'loaddata', and 'syncdb' commands.

Loading…
Cancel
Save