diff --git a/sncf/settings.py b/sncf/settings.py index 7b3d7c4..e2578a8 100644 --- a/sncf/settings.py +++ b/sncf/settings.py @@ -152,6 +152,6 @@ REST_FRAMEWORK = { try: - from settings_local import * + from .settings_local import * except ImportError: pass diff --git a/sncf/settings_local_example.py b/sncf/settings_local_example.py index fafcabf..f3f2f62 100644 --- a/sncf/settings_local_example.py +++ b/sncf/settings_local_example.py @@ -2,7 +2,7 @@ SECRET_KEY = "CHANGE ME" DEBUG = False -ALLOW_HOSTS = ['sncf.emy.lu'] +ALLOWED_HOSTS = ['sncf.emy.lu'] CORS_ALLOWED_ORIGINS = [ "https://sncf.emy.lu",