This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pinry
mirror of
https://github.com/pinry/pinry.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
44
Wiki
Activity
Browse Source
Feature: Support local_settings as optional settings
pull/131/head
winkidney
6 years ago
parent
8df82fb7c3
commit
2278d6a552
2 changed files
with
10 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
pinry/settings/development.py
+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
Write
Preview
Loading…
Cancel
Save