dynamicweb: added settings module with different files for each env
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
180ad09fab
commit
aec2cd4298
5 changed files with 448 additions and 1 deletions
19
dynamicweb/settings/local.py
Normal file
19
dynamicweb/settings/local.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
from .base import *
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
"*"
|
||||
]
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': 'app.db',
|
||||
}
|
||||
}
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
'LOCATION': 'unique-snowflake'
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue