diff --git a/get_together/settings.py b/get_together/settings.py index 75123df..946f89b 100644 --- a/get_together/settings.py +++ b/get_together/settings.py @@ -11,11 +11,6 @@ https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os -try: - from local_settings import * - -except: - print("WARNING: You should create a local_settings.py to store local and secret data.") # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -150,3 +145,9 @@ USE_TZ = True STATIC_URL = '/static/' +try: + from local_settings import * + +except: + print("WARNING: You should create a local_settings.py to store local and secret data.") +