add local settings
This commit is contained in:
1 parent
7bfaefa41f
commit
0f806c40b1
2 files changed
+7
No files matched your search
@@ -6,3 +6,4 @@ build/
|
||||
.cache/
|
||||
*/__pycache__/
|
||||
*/*/__pycache__/
|
||||
caromserver/local_settings.py
|
||||
@@ -129,3 +129,9 @@ REST_FRAMEWORK = {
|
||||
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
||||
]
|
||||
}
|
||||
|
||||
try:
|
||||
from local_settings import *
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user