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