1
0
Fork 0

Compressor fixes

* Add compress support to docker
* Move analytics code outside compressor block
merge-requests/473/head
Nikos Roussos 2018-03-10 15:57:16 +02:00
parent 3a0bafcf66
commit 1405f48bfc
No known key found for this signature in database
GPG Key ID: BADFF1767BA7C8E1
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,6 @@
find ./staticfiles -mindepth 1 -not -name '.gitkeep'| xargs rm -rf
./manage.py collectstatic --noinput
./manage.py compress --force
./manage.py migrate --noinput
./manage.py runserver 0.0.0.0:8000

View File

@ -137,8 +137,7 @@
<script src="{% static 'js/app.js' %}"></script>
{% block javascript %}
{% endblock javascript %}
{{ analytics_code }}
{% endcompress %}
{{ analytics_code }}
</body>
</html>