Skip to content

Commit

Permalink
upgrade to psycopg 3
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed May 12, 2024
1 parent f7bc462 commit 38adfdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
django==4.2.13
psycopg2
psycopg[c]
django-storages[azure]
argon2-cffi
whitenoise
Expand Down
2 changes: 1 addition & 1 deletion tenttiarkisto/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_env_var(name):

DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"ENGINE": "django.db.backends.postgresql",
"NAME": get_env_var("DB_NAME"),
"USER": get_env_var("DB_USER"),
"PASSWORD": get_env_var("DB_PASSWORD"),
Expand Down

0 comments on commit 38adfdb

Please sign in to comment.