From 2620a1b9b8bed29996314caab7c3a6c0d301b779 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 26 May 2018 16:37:02 +0200 Subject: [PATCH] Updated config --- common/settings.py | 1 + common/wsgi.py | 2 +- requirements.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/settings.py b/common/settings.py index af11def..4fbc0a1 100644 --- a/common/settings.py +++ b/common/settings.py @@ -70,6 +70,7 @@ USE_L10N = True USE_TZ = True STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static') MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') diff --git a/common/wsgi.py b/common/wsgi.py index a01db89..473462c 100644 --- a/common/wsgi.py +++ b/common/wsgi.py @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "recettes.settings") +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "common.settings") application = get_wsgi_application() diff --git a/requirements.txt b/requirements.txt index 4cb0052..e5456a2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ django>=2.0 +pillow