#33817: Use python-oracledb instead of cx-oracle -------------------------------------+------------------------------------- Reporter: Alexander Shishenko | Owner: Jingbei | Li Type: New feature | Status: closed Component: Database layer | Version: dev (models, ORM) | Severity: Normal | Resolution: fixed Keywords: oracle | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Marti Raudsepp):
@Peter I doubt the Django project will help you here. The `python-oracledb` documentation contains instructions how to replace `cx_Oracle` module with `oracledb`. I used this for some time with Django 4.2 in development environments without problems (but never in production). https://python- oracledb.readthedocs.io/en/latest/user_guide/appendix_c.html#python- frameworks-sql-generators-and-orms Alternatively, it's possible to extract the `django.db.backends.oracle` DB backend package from Django 5.0 and use it with Django 4.2. Of course this may be a more complicated task, as there were likely DB backend API changes between 5.0 and 4.2. -- Ticket URL: <https://code.djangoproject.com/ticket/33817#comment:32> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018f62bb26af-b1f1d1cb-cf66-4a3a-a6b7-93900af30783-000000%40eu-central-1.amazonses.com.