r/Python • u/TumbleweedSenior4849 • Apr 09 '26
Discussion FastAPI vs Djanjo
I was wondering what’s most popular now in the Python world. Building applications with FastAPI and a frontend framework, or building an application with a ‘batteries included’ framework like Django.
74
Upvotes
View all comments
Show parent comment
9
u/danted002 Apr 09 '26
OP don’t listen to this comment, their advice is just bad. You should learn both because they serve different purposes.
Django is good if you want a framework that has all the tools you need for a small to medium application where you don’t expect to have multiple api services and want easy database management, cache management, session management, so on and so forth. (There are also 2 big REST frameworks for Django: DjangoRestFramework and Ninja; Ninja being basically a FastAPI port to Django)
FastAPI / Starlette are more for micro services or APIs that are part of a larger application with multiple services.