add local settings
This commit is contained in:
parent
7bfaefa41f
commit
0f806c40b1
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ build/
|
|||||||
.cache/
|
.cache/
|
||||||
*/__pycache__/
|
*/__pycache__/
|
||||||
*/*/__pycache__/
|
*/*/__pycache__/
|
||||||
|
caromserver/local_settings.py
|
||||||
|
@ -129,3 +129,9 @@ REST_FRAMEWORK = {
|
|||||||
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try:
|
||||||
|
from local_settings import *
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user