Hacker News new | ask | show | jobs
by WD-42 1652 days ago
I share OP's general statement. I've been using Flask and Django on and off for near a decade.

When deciding between Flask and Django, I look at the following requirements:

User accounts

Object Relational Manager

Database Migrations

User registration/social authentication

Admin Site

As a general rule of thumb if my project is going to need 3 or more of these things I just go with Django.

You CAN do all of that with Flask, but you end up wiring together a bunch of third party dependencies just to end up with what Django would have provided you out of the box.

1 comments

FastAPI doesn't (directly) help with most of these either, so that's really a Flask vs. Django comparison rather than Flask vs. FastAPI.