From 77f57dda98394158c3d46de21979a9693b7f8228 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Thu, 3 Aug 2017 11:14:47 +0200
Subject: [PATCH] add a static root to enable modwsgi deployment

Former-commit-id: 71cb8b718c1fec845200a0f64ca49b4d13b3ecd4
---
 ippisite/ippisite/settings.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ippisite/ippisite/settings.py b/ippisite/ippisite/settings.py
index d2d9b930..00ae8293 100644
--- a/ippisite/ippisite/settings.py
+++ b/ippisite/ippisite/settings.py
@@ -130,6 +130,8 @@ USE_TZ = True
 
 STATIC_URL = '/static/'
 
+STATIC_ROOT = os.path.join(BASE_DIR, 'static_root')
+
 # required to use django-extensions to draw database diagram
 # to do so type
 #$ ./manage.py graph_models -a > db.dot
-- 
GitLab