From 2278d6a5529fc27571d2e8bd0c5dbf8b8007556b Mon Sep 17 00:00:00 2001 From: winkidney Date: Sun, 19 Aug 2018 04:33:14 -0700 Subject: [PATCH] Feature: Support local_settings as optional settings --- pinry/settings/development.py | 5 +++++ pinry/settings/docker.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pinry/settings/development.py b/pinry/settings/development.py index 38d7606..d029112 100644 --- a/pinry/settings/development.py +++ b/pinry/settings/development.py @@ -19,3 +19,8 @@ DATABASES = { 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } + +try: + from .local_settings import * +except ImportError: + pass diff --git a/pinry/settings/docker.py b/pinry/settings/docker.py index 0aff23c..54e56a1 100644 --- a/pinry/settings/docker.py +++ b/pinry/settings/docker.py @@ -22,3 +22,8 @@ DATABASES = { 'PORT': 5432, } } + +try: + from .local_settings import * +except ImportError: + pass