add local settings

This commit is contained in:
Robert Einsle 2017-01-09 07:27:22 +01:00
parent 7bfaefa41f
commit 0f806c40b1
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ build/
.cache/ .cache/
*/__pycache__/ */__pycache__/
*/*/__pycache__/ */*/__pycache__/
caromserver/local_settings.py

View File

@ -129,3 +129,9 @@ REST_FRAMEWORK = {
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly' 'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
] ]
} }
try:
from local_settings import *
except ImportError:
pass