Introduction to SQLAlchemy ORM for Django Developers – apirobot

I always used Django at work and for my personal projects. But on the recent project at work I had an opportunity to use Flask with SQLAlchemy. So I had to learn something new.

Flask is easy peasy because it’s a microframework and it doesn’t have a lot inside. However, understanding SQLAlchemy and how to work with it was more difficult than I expected.

In this article I tried to show the main differences between Django ORM and SQLAlchemy with examples of how to do something in Djan…