FastAPI vs. Django REST Framework: Which One Should You Choose?

preview_player
Показать описание
FastAPI and Django Rest Framework, DRF, are two major Python frameworks for building your Python API products. But the big question remains: which one should you choose?

🎓 Courses can be found:

👨‍💻 Hi, I am Eric!👨‍💻
Hey! I’m a seasoned developer and Cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!

🙏 Support The Channel 🙏
If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍

#fastapi #djangorestframework #python
Рекомендации по теме
Комментарии
Автор

Used fastapi for 8 months, it's really fast and works with almost any existing python package, but the django ORM and admin panel is a significant advantage that DRF has over fastapi.

I believe that using one over the other boils down to whether you need the django ORM & admin and the django packages provided by the community, or you want to have control over every part of your API and a few ms in performance improvement is worth the switch and someone else is building the admin panel.

hmaina
Автор

Need a full fledged FastAPI project with authentication and ReactJS as frontend

coderush
Автор

The problem is Django ORM is better, That's why Django is still better. You can optimize DRF for latency and speed.

my_name_is_ahad
Автор

You should have compare Async Django vs Async FastAPI. DRF is not async yet

AsifSaifuddinAuvipy
Автор

I'm using django as fullstack and that's why I have to use Django REST for the mobile app it's not bad but I wish it would improve its performance

onclick-xtmu
Автор

I was going to use django rfw or even django ninja but i decided to use fastapi in the end. Django is good but i already made my front end and it seemed complicated to get it working solely as a backend.

SageManOfficial
Автор

Looking for a course with FastAPI and Next.js with all auth features 😢

codernerd
Автор

Can you please make a similar comparison video between Async Django Ninja and FastAPI?

ruksharalam
Автор

if we have large scale features ..I means we have various features to take care in a webapp ..In that case also can we consider FastApi?

aibasics
Автор

Any other comparisons you want to see?

codingwithroby
Автор

wow, that's one FULL head of hair "you" had there in that clip :o

helloquico
Автор

So... is django dying? What would be a good use case for it?

joshthexengineer
Автор

You are comparing an apple & a banana and asking which one is mostly an apple. ye obviously, it's the apple. django by default is sync & fastapi is async which means fastapi should be faster & by huge margins have a lower latency

kenmachine
Автор

I hope by Pydantic you mean `SQLMODEL` in the modern world.

dev-akeel
Автор

Like for your effort and performances Figure ❤

_Software_developer_
Автор

Our company is already using fastapi since 2021

krishnaagarwal