From 3882979af06c15fb98d66c3d576a4da63a6b61f5 Mon Sep 17 00:00:00 2001 From: Oly Date: Wed, 1 Mar 2017 09:01:26 +0000 Subject: [PATCH] add in basic analytics --- compose/django/stage-gunicorn-mhackspace.sh | 1 + mhackspace/templates/base.html | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/compose/django/stage-gunicorn-mhackspace.sh b/compose/django/stage-gunicorn-mhackspace.sh index eae63f3..b6edd97 100644 --- a/compose/django/stage-gunicorn-mhackspace.sh +++ b/compose/django/stage-gunicorn-mhackspace.sh @@ -1,4 +1,5 @@ #!/bin/sh +rm -R /app/staticfiles/* python /app/manage.py collectstatic --noinput python /app/manage.py compilescss diff --git a/mhackspace/templates/base.html b/mhackspace/templates/base.html index 5eedb09..9c2ccb0 100644 --- a/mhackspace/templates/base.html +++ b/mhackspace/templates/base.html @@ -169,7 +169,12 @@ {% compress js %} {% endcompress %} - + {% endblock javascript %}