{"id":16901427,"url":"https://github.com/dvarrazzo/django-psycopg3-backend","last_synced_at":"2026-02-13T15:07:41.976Z","repository":{"id":39755394,"uuid":"389483170","full_name":"dvarrazzo/django-psycopg3-backend","owner":"dvarrazzo","description":"A Django backed for PostgreSQL using Psycopg 3","archived":false,"fork":false,"pushed_at":"2022-05-26T07:14:51.000Z","size":37,"stargazers_count":47,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-09-01T10:13:07.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvarrazzo.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-26T02:09:35.000Z","updated_at":"2025-04-02T05:55:51.000Z","dependencies_parsed_at":"2022-09-20T11:24:21.990Z","dependency_job_id":null,"html_url":"https://github.com/dvarrazzo/django-psycopg3-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvarrazzo/django-psycopg3-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fdjango-psycopg3-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fdjango-psycopg3-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fdjango-psycopg3-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fdjango-psycopg3-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvarrazzo","download_url":"https://codeload.github.com/dvarrazzo/django-psycopg3-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fdjango-psycopg3-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29411138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T17:58:32.475Z","updated_at":"2026-02-13T15:07:41.954Z","avatar_url":"https://github.com/dvarrazzo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Django backend for PostgreSQL using Psycopg \u003e 2\n=================================================\n\nThe backend passes the entire Django test suite, but it needs a few\nmodifications to Django and to its test suite. These changes will be proposed\nto the Django project in a series of merge requests. `A writeup`__ explains\nthe changes in more details.\n\n.. __: https://www.psycopg.org/articles/2021/08/02/psycopg3-django-driver/\n\nThe modifications required (targeting the main branch at the time of writing)\nare available in the `psycopg3-4.1`__ Django branch. This is `the list of\nchanges`__.\n\n.. __: https://github.com/dvarrazzo/django/tree/psycopg3-4.1\n.. __: https://github.com/django/django/compare/8b020f2e64...dvarrazzo:psycopg3-4.1\n\n\nApproximative instructions\n--------------------------\n\nCreate and activate a virtualenv any way you like::\n\n    python3 -m venv .venv\n    source .venv/bin/activate\n\nInstall Django, from a branch supporting Psycopg 3. Clone the repos to get the\ntest suite too. Example::\n\n    git clone -b psycopg3-4.1 https://github.com/dvarrazzo/django.git\n    pip install -e ./django\n\nInstall Psycopg 3 from the master branch::\n\n    git clone https://github.com/psycopg/psycopg.git\n    pip install -e ./psycopg/psycopg\n\nInstall the backend (this project)::\n\n        pip install -e .\n\nCustomise the test config module if necessary::\n\n    vim configs/test_psycopg3.py\n    # hack hack\n    # :wq\n\nRun the django test suite::\n\n    python django/tests/runtests.py --settings=configs.test_psycopg3 -v2 --parallel=1 --noinput\n\nA ``configs.test_psycopg2`` module is also available to run the same tests\nwith psycopg2 and check for regressions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvarrazzo%2Fdjango-psycopg3-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvarrazzo%2Fdjango-psycopg3-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvarrazzo%2Fdjango-psycopg3-backend/lists"}