Skip to content

Commit 7034cf7

Browse files
authored
Merge pull request #663 from vintasoftware/td/psycopg
Replace `psycopg2` with `psycopg`
2 parents 77e310c + 516e5cc commit 7034cf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Also, includes a Render.com `render.yaml` and a working Django `production.py` s
5656
- `django-js-reverse` for easy handling of Django URLs on JS
5757
- `django-upgrade` for automatically upgrading Django code to the target version on pre-commit
5858
- `django-guid` for adding a unique correlation ID to log messages from Django requests
59-
- `psycopg2` for using PostgreSQL database
59+
- `psycopg` for using PostgreSQL database
6060
- `sentry-sdk` for error monitoring
6161
- `python-decouple` for reading environment variables on settings files
6262
- `celery` for background worker tasks

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ django-import-export = "^3.3.5"
1818
djangorestframework = "^3.14.0"
1919
django-debreach = "^2.1.0"
2020
python-decouple = "^3.8"
21-
psycopg2 = "^2.9.9"
21+
psycopg = "^3.1.19"
2222
brotlipy = "^0.7.0"
2323
django-log-request-id = "^2.1.0"
2424
dj-database-url = "^2.1.0"

0 commit comments

Comments
 (0)