From e884236cc3df65686eefb74f157c3230b642fcad Mon Sep 17 00:00:00 2001 From: Klafyvel Date: Thu, 1 Mar 2018 12:04:17 +0100 Subject: [PATCH] settings pour la prod --- site_tps/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_tps/settings.py b/site_tps/settings.py index b9a472c..40dcc55 100644 --- a/site_tps/settings.py +++ b/site_tps/settings.py @@ -27,7 +27,7 @@ AES_KEY = "0123456789ABCDEF" # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['*'] # Application definition @@ -124,7 +124,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') +STATIC_ROOT = os.path.join(BASE_DIR, 'static') MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'static', 'media')