Django 5.1 now [supports connection pools for postgresql](https://docs.djangoproject.com/en/5.1/ref/databases/#connection-pool). This means that a lot of the handcrafted SQL queries can be converted to django ORM queries. At the time of writing this is currently being blocked by django 4.2 LTS ([supported until mid 2026](https://endoflife.date/django))
Django 5.1 now supports connection pools for postgresql.
This means that a lot of the handcrafted SQL queries can be converted to django ORM queries.
At the time of writing this is currently being blocked by django 4.2 LTS (supported until mid 2026)