add local settings

This commit is contained in:
reinsle committed 2017-01-09 07:27:22 +01:00
1 parent 7bfaefa41f
commit 0f806c40b1
2 files changed
+7

No files matched your search

+1
View File
@@ -6,3 +6,4 @@ build/
.cache/
*/__pycache__/
*/*/__pycache__/
caromserver/local_settings.py
+6
View File
@@ -129,3 +129,9 @@ REST_FRAMEWORK = {
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
]
}
try:
from local_settings import *
except ImportError:
pass