Configuring Django to use SQLAlchemy [closed]

大憨熊 提交于 2019-12-09 04:21:53

问题


How can I configure Django with SQLAlchemy?


回答1:


You can use SQLAlchemy within a Django project with Aldjemy:

https://github.com/Deepwalker/aldjemy




回答2:


Check this:

Replacing django orm




回答3:


alchemy? :)

Google links:

  • replacing-django-s-orm-with-sqlalchemy
  • django-sqlalchemy
  • googleGroups



回答4:


Please find this little tutorial on how to use SQLAlchemy with Django




回答5:


I have experience building Django + SQLAlchemy Core, and it's a good combination for data-analysis applications.

Here is an article https://djangostars.com/blog/merging-django-orm-with-sqlalchemy-for-easier-data-analysis/

And here is my talk on Djangocon Europe 2019 about that, where I compare Django ORM & SQLAlchemy Core for such type of apps, highlight integration steps and which 'side-effects' to expect if you have such union (like writing tests).




回答6:


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.



来源:https://stackoverflow.com/questions/1011476/configuring-django-to-use-sqlalchemy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!