Re:A JSON field type for Django
by workhere-io on Thursday March 13, 2014 @07:34PM
(#7395925)
SQLAlchemy's documentation makes the ORM seem a bit unapproachable, but Flask-SQLAlchemy does a good job of simplifying things: http://pythonhosted.org/Flask-SQLAlchemy/. With that documentation I don't think SQLAlchemy is much harder to use than Django's ORM.
[ Parent
| on HN ]
Re:A JSON field type for Django
by rectangletangle on Thursday March 13, 2014 @09:36PM
(#7396428)
I think SQLAlchemy's documentation is actually pretty good; it's extremely thorough. SQLAlchemy is also extremely well designed/written (as is Django), though it tends not to hide its complexity. SQLAlchemy's sessions are more complex than Django's equivalent. This is because SQLAlchemy assumes a more general case, where as Django assumes you're making a standard CRUD web application. They're both good at what they do.