3 ms·
A lot of things depend on Django's ORM, admin and REST libraries being the most useful. I once tried to use SQLAlchemy to write some particularly complex queri
by lucian1900 14y ago
A lot of things depend on Django's ORM, admin and REST libraries being the most useful.
I once tried to use SQLAlchemy to write some particularly complex queries and used aldjemy[0] for that. While it worked reasonably well for a few queries, it made things a bit confusing by having two ways of querying. It was also annoying to debug things at first (since I was using SQLAlchemy's own executor), so I ended up generating SQL and explicitly feeding that into Django's executor.
It's generally a pain to use SQLAlchemy with Django. It's the primary reason I avoid Django.
0. https://github.com/Deepwalker/aldjemy/ https://github.com/Deepwalker/aldjemy/