fix production db
This commit is contained in:
parent
f7b592f4b9
commit
e81d44e115
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ ASGI_APPLICATION = 'testapi.asgi.application'
|
||||||
# Database
|
# Database
|
||||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases
|
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases
|
||||||
|
|
||||||
if PRODUCTION:
|
if not PRODUCTION:
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue