Fixed #20: added admin serving under /api/, minor tweaks to production nginx and env file

This commit is contained in:
Eliot Berriot 2017-06-26 19:18:31 +02:00
parent e7c8cad613
commit 80cfd7180a
3 changed files with 4 additions and 4 deletions

View file

@ -199,7 +199,7 @@ CRISPY_TEMPLATE_PACK = 'bootstrap3'
STATIC_ROOT = str(ROOT_DIR('staticfiles'))
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url
STATIC_URL = env("STATIC_URL", default='/static/')
STATIC_URL = env("STATIC_URL", default='/staticfiles/')
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
STATICFILES_DIRS = (