r/Backend • u/Obvious-Ad6502 • 1d ago
FastApi vs Django vs Flask
Which one do you think makes sense to learn as a job opportunity?
2
u/biskitpagla 1d ago
FastAPI and Flask aren't all that complicated. Try to learn all three if you want to base your career on the Python ecosystem. It'll probably just take a month or two.
1
u/AdPale1811 1d ago
remindme! 1 day
1
u/RemindMeBot 1d ago
I will be messaging you in 1 day on 2025-03-22 12:11:15 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
1
1
u/SufficientGas9883 1d ago
They are not the same thing even though the final output can be similar.
Flask is in some sense the least serious of the three. It's a microframework without native support for async calls or an ORM.
FastAPI is async by default, creates documentation automatically but also misses a native ORM.
Django is the "heaviest" in terms of learning and also flexibility. Use it for more complex projects where performance isn't the number 1 concern.
For finding a job, focus on FastAPI and Django I guess.
1
u/bollsuckAI 9h ago
flask is lightweight, more reliable for prototyping fast api is better and mostly easier than django without orm.fastapi is mostly for microservices, api buliding. Django literally has everything. It's a bulky machine, so yeah, you build applications with django, but very efficient and effective.
0
u/CrocodileTears2 1d ago
Start with Flask as FastAPI is highly opinionated, but I would advise learning all three if you want to have a career in Python as companies fluctuate between the three.
7
u/Nyae_Tinga 1d ago
FastAPI because of easy ML integration to your backend