mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
django_manage - added splitting the command parameter for running (#3283)
* added splitting the command parameter for running * added changelog fragment * refactored variable names for improved readability
This commit is contained in:
parent
baa721ac22
commit
b2bb7e3f9c
4 changed files with 29 additions and 18 deletions
|
@ -121,3 +121,4 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = '/tmp/django-static'
|
||||
|
|
|
@ -48,3 +48,9 @@
|
|||
pythonpath: "{{ tmp_django_root.path }}/1045-single-app-project/"
|
||||
command: check
|
||||
virtualenv: "{{ tmp_django_root.path }}/venv"
|
||||
|
||||
- name: Run collectstatic --noinput on simple project
|
||||
community.general.django_manage:
|
||||
project_path: "{{ tmp_django_root.path }}/simple_project/p1"
|
||||
command: collectstatic --noinput
|
||||
virtualenv: "{{ tmp_django_root.path }}/venv"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue