Browse Source

Feature: Support local_settings as optional settings

pull/131/head
winkidney 6 years ago
parent
commit
2278d6a552
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      pinry/settings/development.py
  2. +5
    -0
      pinry/settings/docker.py

+ 5
- 0
pinry/settings/development.py View File

@@ -19,3 +19,8 @@ DATABASES = {
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
} }
} }

try:
from .local_settings import *
except ImportError:
pass

+ 5
- 0
pinry/settings/docker.py View File

@@ -22,3 +22,8 @@ DATABASES = {
'PORT': 5432, 'PORT': 5432,
} }
} }

try:
from .local_settings import *
except ImportError:
pass

Loading…
Cancel
Save