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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,8 @@ asgiref==3.8.1
|
|||||||
Django==5.2.1
|
Django==5.2.1
|
||||||
django-debug-toolbar==5.2.0
|
django-debug-toolbar==5.2.0
|
||||||
pip==23.0.1
|
pip==23.0.1
|
||||||
|
psycopg==3.2.9
|
||||||
|
psycopg-binary==3.2.9
|
||||||
setuptools==66.1.1
|
setuptools==66.1.1
|
||||||
sqlparse==0.5.3
|
sqlparse==0.5.3
|
||||||
|
typing_extensions==4.14.0
|
||||||
|
|||||||
Reference in New Issue
Block a user