3 ms·
I've never been completely convinced by the idea of hacking the Django ORM to be able to talk to non-relational data stores - if you can't do joins, you lose mo
by simonw 15y ago
I've never been completely convinced by the idea of hacking the Django ORM to be able to talk to non-relational data stores - if you can't do joins, you lose most of the stuff that makes the ORM useful.
I'd much rather see tools like the Django admin evolve interfaces which can be plugged in to the Django ORM or plugged in to some other backend (PyMongo, CouchDB, SimpleDB, AppEngine DataStore or whatever). That feels to me like a more natural point for an abstraction layer than the core ORM itself.
- fduran 15y agoI have a Django site with its admin running off mongodb http://django-mongodb.org http://django-mongodb.org , everything runs off the box except for these couple changes: http://django-mongodb.org/troubleshooting.html http://django-mongodb.org/troubleshooting.html . And I agree, I don't see for now much use of the django models and ORM for mongodb, I just use pymongo code in my views.
- beggi 15y agoI agree, it would be nice if Django would develop further abstractions for example for key value stores and document stores, and add functionality to the admin for those.