From 836f2d39ee2f5bc5750d1768590e9d48e76e5d20 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Fri, 2 Feb 2024 01:17:07 +0100 Subject: [PATCH] Fix typo --- sncf/settings.py | 2 +- sncf/settings_local_example.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",