dvarrazzo/django-psycopg3-backend

Landing in Django 4.1?

Closed this issue · 5 comments

Thank you for psycopg3!!

I'm looking forward to using it in Django; the feature freeze for Django 4.1 is May 17. Were you planning to get ticket 33308 completed / closed by then?

Hello,

I am not actively working with the Django developers: I wrote the driver and the first iteration of the backend but I left the ball in their field. I give them feedback when they ask, but I'm not doing more than this.

You should hear from the Django project about their plans.

It seems like django has yet to integrate psycopg3 into 4.1. I tried this solution and had issues with the line from django.db.utils inport Text in the base.py. I declares class Text among those in utils.py of django.db. Although it worked, I could not query the database objects, error being objects do not have conn.status attribute. I am running python 3.11.0 environment

@bjnabs: see reply above. Please get in touch with the Django people to know where things are.

I hope a psycopg version 3 backend will be available in Django 4.2.

Some PRs have been already merged in the Django main branch.

This is the main PR you can follow and contribute to if you want to help:
django/django#15687

Thank you for linking the Django MR, @pauloxnet 🙂

Closing this, as the state of work is in django/django#15687.

💜