point to DB instead fo sqllite
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-06-17 14:39:36 +01:00
parent 200fea731c
commit 0cce30b7d2
+6 -2
View File
@@ -91,8 +91,12 @@ WSGI_APPLICATION = 'django_code.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'django',
'USER': os.environ.get('DB_USERNAME'),
'PASSWORD': os.environ.get('DB_PASSWORD'),
'HOST': os.environ.get('DB_HOST'),
'PORT': os.environ.get('DB_PORT'),
},
'cloudmanager_db': {
'ENGINE': 'django.db.backends.postgresql',