first configs of database

This commit is contained in:
2025-04-30 09:40:46 +03:30
parent da43efc578
commit 4cf7d6e554
8 changed files with 77 additions and 2 deletions

View File

@@ -74,8 +74,12 @@ WSGI_APPLICATION = 'Rasaddam_Backend.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': "postgres",
'HOST': "monte-rosa.liara.cloud",
'USER': "root",
'PASSWORD': "aFC3hqbxxR0SeBPZ6TCZ37my",
'PORT': '32718'
}
}