Skip to content

Commit

Permalink
Added documentation for collectstatic --clear. (#42007)
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
StuartMacKay authored and gundalow committed Sep 19, 2018
1 parent 74b94e1 commit f964277
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/ansible/modules/web_infrastructure/django_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
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.
Expand Down

0 comments on commit f964277

Please sign in to comment.