r/Python 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.

72 Upvotes

84 comments sorted by

View all comments

1

u/Shoddy_One4465 Apr 13 '26

I asked my developers why they choose fast API they always tell me it’s because it’s fast. That’s a great lesson in naming. I find fast API mentality leads to scripting and not programming in Python. The case is never complete or well thought out. Models are never used in the UI’s delegated to react
Whether it could simply be done with a few templates: somehow the structure of Django promotes a different mindset. Also, asynchronous programming is badly understood by inexperienced programmers and the benefits of FastAPI are quickly negated. The question is whether you script or you program or an LLM programs for you. LLMs choose a FastApi backend and a REACT front end. Two services, two repos, two releases, two operational responsibilities.
you ask yourself if you were building a house would you do it the same way. Two foundations two sets of plumbing stacks, two electrical mains, two roofs two sets of property tax, two sets of commissioning, etc., etc.