From 529c81bf06f7efcafeafa2dda13d391d7daf4fb9 Mon Sep 17 00:00:00 2001 From: Sanjay Bhangar Date: Sat, 20 May 2017 17:49:32 +0530 Subject: [PATCH] allow local_settings to over-ride settings --- .gitignore | 1 + camp/settings.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 0d20b64..b6eb99e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.pyc +local_settings.py diff --git a/camp/settings.py b/camp/settings.py index 5b4de38..7987c97 100644 --- a/camp/settings.py +++ b/camp/settings.py @@ -120,3 +120,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.11/howto/static-files/ STATIC_URL = '/static/' + +try: + from local_settings import * +except: + pass \ No newline at end of file