5 ms·
Improvement to the ORM should be the #1 priority IMO. This is my single biggest pain point with Django.
by richardlblair 14y ago
Improvement to the ORM should be the #1 priority IMO. This is my single biggest pain point with Django.
- czbond 14y agoAgreed. I keep looking for reasons to use Django for anything other than small/medium complexity apps - but Rails keeps winning for these..... yet I prefer Python but have to construct in Ruby.
- nilsbunger 14y agoI've never tried this, but is using SQLAlchemy with Django relatively easy and production-worthy?
- codewright 14y agoNothing about SQLAlchemy has ever been easy, in Django, Flask, or raw WebOb Python apps I've worked on. It's production-worthy, but the tax it levies on your soul probably isn't worth it. https://github.com/coleifer/peewee https://github.com/coleifer/peewee
- kenneth_reitz 14y agoYou can use SQLAlchemy's connection pooling in conjunction with the Django ORM: https://github.com/kennethreitz/django-postgrespool https://github.com/kennethreitz/django-postgrespool
- richardlblair 14y agoI work with Django full time on an app that is relatively large and complex. It works great, but that damn ORM costs me so much time. Everything else is great. I really enjoy how everything else works together. But, again, that damn ORM...