Skip to content

Commit

Permalink
psycopg3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkramaric committed Jun 20, 2024
1 parent 879c0ca commit ddb5ca1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
python-version: 3.11

- name: psycopg2 prerequisites
- name: psycopg3 prerequisites
run: sudo apt-get install libpq-dev

- name: install python dependencies
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
psycopg2-binary==2.9.6
psycopg[binary]==3.1.19
Django==5.0.6
Pillow==10.3.0
2 changes: 1 addition & 1 deletion test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'test_jsonate',
'USER': 'postgres',
}
Expand Down

0 comments on commit ddb5ca1

Please sign in to comment.