Fix integration of django-statici18n

This commit is contained in:
Raphael Michel
2016-11-09 19:47:42 +01:00
parent 45b960b97c
commit 302c6da17f
3 changed files with 6 additions and 3 deletions

View File

@@ -310,6 +310,8 @@ STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
] if os.path.exists(os.path.join(BASE_DIR, 'static')) else []
STATICI18N_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
# if os.path.exists(os.path.join(DATA_DIR, 'static')):