Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for --clear argument to collectstatic. #94

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

StuartMacKay
Copy link
Contributor

Ansible's django_manage module supports the --clear argument on the collectstatic management command. The feature was added in this PR ansible/ansible-modules-core#1810 but the documentation was not updated. This PR adds a variable, django_collectstatic_clear that can be used to control whether the --clear argument is used or not. The default value is 'no' to avoid breaking any existing code.

Ansible's django_manage module supports the --clear argument on the
collectstatic management command. The feature was added in this PR
ansible/ansible-modules-core#1810 but the
documentation was not updated. This PR adds a variable,
django_collectstatic_clear that can be used to control whether the
--clear argument is used or not. The default value is 'no' to avoid
breaking any existing code.
@StuartMacKay
Copy link
Contributor Author

Sorry for the second commit. It looks like I have sync issues between my IDE and SSD which resulted in me removing the quotes and thinking that the command had run successfully.

@StuartMacKay
Copy link
Contributor Author

The travis build failure looks to be transient. Closing and reopening again to trigger a rebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants