DEV Community

Discussion on: Flask vs. Django?

Collapse
 
joeizang profile image
Joe Izang

Hi Ben,
Every python developer knows that sqlalchemy is powerful. So you are not entirely correct by saying Django orm is more powerful than flask-sqlalchemy. Anything you can do with sqlalchemy you can with flask-sqlalchemy. Once upon a time Django orm couldn't do many to many without some hacks but you could with flask-sqlalchemy. Also, flask can do a lot more than you think, so mini apps isn't entirely accurate. Flask puts more power in the developers hands because it's configurable while Django thrives on conventions.
With these frameworks, it's just a case of picking your poison. But looking at the facts, you are off to a great start.

Collapse
 
imronlearning profile image
Michael Learns

Woah really? Thanks Joe! I haven't really used sqlalchemy before and only really encountered it in flask-sqlalchemy.

Also my evaluation of Flask was only based on my one week experience with it along with what I've heard from fellow developers in my community. 😅

Perhaps in using Flask more I'd be able to learn more about it's capabilities and it's strengths.

Thanks man! I'll be sure to learn more about it. 🎉👍