move to postgres

This commit is contained in:
Basyrov Rustam
2025-06-04 23:00:31 +03:00
parent 695630bf6b
commit d9096b6c97
2 changed files with 9 additions and 2 deletions

View File

@@ -77,8 +77,12 @@ WSGI_APPLICATION = "mysite.wsgi.application"
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
"ENGINE": "django.db.backends.postgresql",
"OPTIONS": {
"service": "my_service",
"passfile": ".pgpass",
},
"PASSWORD":"example",
}
}