move to postgres
This commit is contained in:
@@ -77,8 +77,12 @@ WSGI_APPLICATION = "mysite.wsgi.application"
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.sqlite3",
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
"NAME": BASE_DIR / "db.sqlite3",
|
"OPTIONS": {
|
||||||
|
"service": "my_service",
|
||||||
|
"passfile": ".pgpass",
|
||||||
|
},
|
||||||
|
"PASSWORD":"example",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user