fix production db

This commit is contained in:
ThePetrovich 2025-08-05 19:02:23 +08:00
parent f7b592f4b9
commit e81d44e115

View file

@ -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',