diff --git a/Ernestophone/settings/common.py b/Ernestophone/settings/common.py index 7ee1c70..9da7b8f 100644 --- a/Ernestophone/settings/common.py +++ b/Ernestophone/settings/common.py @@ -19,6 +19,7 @@ def import_secret(name): except AttributeError: raise RuntimeError("Secret missing: {}".format(name)) + SECRET_KEY = import_secret("SECRET_KEY") ADMINS = import_secret("ADMINS") SERVER_EMAIL = import_secret("SERVER_EMAIL") @@ -112,7 +113,6 @@ USE_TZ = True STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), - os.path.join(BASE_DIR, 'media/partitions'), ) AUTH_PROFILE_MODEL = 'gestion.ErnestoUser'