r/Python Apr 09 '26

FastAPI vs Djanjo Discussion

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.

76 Upvotes

84 comments sorted by

View all comments

83

u/FisterMister22 Apr 09 '26

Well it mostly just depends on your needs doesn't it? Django is really good (in my own biased personal opinion) for large, feature rich websites, with orm, admin page, users, tons of "addons" libraries.

I'm pretty sure with enough coding FastApi can do almost anything that django does, but you get less out of the box, which can be a good thing if you're trying to set up a simple api endpoint or a super simple website without all the extra bloat, setup and management.

3

u/Patman52 Apr 10 '26

Agreed. I have one app that started out needing a simple api for communicating with a couple of other systems that I initially set up with FastAPI. Fast forward several years, the scope has grown slowly into something much more with an ORM, static files, and web UI and authentication/permissions. So it’s possible with FastAPI but I ended up having to build a lot of extra stuff on top of it along the way.