How can I configure Django with SQLAlchemy?
Asked
Active
Viewed 3.0k times
5 Answers
15
You can use SQLAlchemy within a Django project with Aldjemy:
Mathieu Rodic
- 6,459
- 2
- 41
- 49
Mihail Krivushin
- 464
- 5
- 12
-
1Aldjemy is very good - super easy to get working seems well maintained. A newer project https://github.com/shosca/django-sorcery also exists, which does most of django and has an in-progress version of django-admin as well (at the time of writing) - initial screenshots look promising. A django-rest-sqlalchemy edition also exists alongside django-sorcery – Damian Apr 04 '19 at 18:43
7
Check this:
Andrea Di Persio
- 3,136
- 2
- 23
- 23
-
4Link is dead. New link to (probably) same article: https://lethain.com/replacing-django-s-orm-with-sqlalchemy/ – jacquev6 Jun 27 '17 at 07:16
0
There are many benefits of using SQLAlchemy instead of Django ORM, but consider developing a built-in-Django choice of SQLAlchemy
(to have something called a production ready)
By the way, Django ORM is going better - in Django 1.11 they added UNION support (a SQL basic operator), so maybe some day there will be no need to change ORM.
Sławomir Lenart
- 6,284
- 3
- 38
- 53