Updated config

This commit is contained in:
Claude Paroz 2018-05-26 16:37:02 +02:00
parent aa48b6411f
commit 2620a1b9b8
3 changed files with 3 additions and 1 deletions

View file

@ -70,6 +70,7 @@ USE_L10N = True
USE_TZ = True USE_TZ = True
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_ROOT = os.path.join(BASE_DIR, 'media')

View file

@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application 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() application = get_wsgi_application()

View file

@ -1 +1,2 @@
django>=2.0 django>=2.0
pillow