mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
Fix condition for Django Compressor
This commit is contained in:
parent
4912c81239
commit
642e717d45
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
{%- if cookiecutter.frontend_pipeline == "Django Compressor" %}
|
||||
|
||||
{%- if "{{ cookiecutter.frontend_pipeline }}" == "Django Compressor" %}
|
||||
compress_enabled() {
|
||||
python << END
|
||||
import sys
|
||||
|
@ -21,5 +21,6 @@ then
|
|||
python manage.py compress
|
||||
fi
|
||||
{%- endif %}
|
||||
|
||||
python manage.py collectstatic --noinput
|
||||
python manage.py compilemessages -i site-packages
|
||||
|
|
Loading…
Reference in New Issue
Block a user