Django Ninja - The new DRF killer?! 🥷

  Рет қаралды 4,704

Tom Dekan

Tom Dekan

Күн бұрын

Пікірлер: 17
@ruksharalam173
@ruksharalam173 Ай бұрын
Would love a video where you compare the speeds/performance/async performance between FastAPI and Django Ninja and give your opinion on it.
@aravindr2333
@aravindr2333 6 ай бұрын
for people not familiar with python typing , it will seem very hard . learning typing is need to be part of basic (from my exp)
@tomdekan
@tomdekan 6 ай бұрын
Thanks for the comment. No typing is required! In case you want to validate data with a schema, and are having difficulties, have you seen the ability to generate a schema from the models with Ninja? (django-ninja.dev/guides/response/django-pydantic/)
@tomdekan
@tomdekan 6 ай бұрын
No typing required! In case you want validate data with a schema, have you seen django-ninja.dev/guides/response/django-pydantic/
@Steven-wm9vu
@Steven-wm9vu 5 ай бұрын
@@aravindr2333 typing is beyond easy
@jayesh_15
@jayesh_15 5 ай бұрын
Well the code part is similar to using the Response of DRF and thus removing the need for a serializer... Doesn't look like a stellar upgrade to get to or am I missing something here?
@tomdekan
@tomdekan 5 ай бұрын
There are quite a few nice Django Ninja features v DRF: check out this Jayesh: django-ninja.dev/motivation/ I probably wouldn't switch from DRF to Ninja if I was using DRF. But I would start all new Django APIs with Django Ninja
@AlexGarcia-ir7fl
@AlexGarcia-ir7fl 5 ай бұрын
So basically FASTAPI + Django dev tools
@tomdekan
@tomdekan 5 ай бұрын
Yes + Django ORM integration. Here's a comparison for you Alex: django-ninja.dev/motivation/?h=fastapi
@Steven-wm9vu
@Steven-wm9vu 5 ай бұрын
Also async just works. Also, Swagger out of the box at /docs.
@tomdekan
@tomdekan 5 ай бұрын
Good point. Swagger out of the box is great.
@AbdennourHabchi
@AbdennourHabchi 6 ай бұрын
hi thank u Tom for video , Django Ninja it's look like FastAPI
@tomdekan
@tomdekan 6 ай бұрын
You’re welcome and I agree with you. FastAPI and Django Ninja are quite similar. I like how Django Ninja is focused on Django. Might do a video on FastAPI💨
@AbdennourHabchi
@AbdennourHabchi 6 ай бұрын
@@tomdekan Try FastAPI with HTMX ☄
@tomdekan
@tomdekan 6 ай бұрын
Nice idea :) 🚀
@destinyefe8996
@destinyefe8996 6 ай бұрын
Thanks for the brief intro. what would become of DRF. Serializers 🙂. django-ninja is more straightforward
@tomdekan
@tomdekan 6 ай бұрын
You're welcome 🙂. True regarding DRF. I've used DRF a lot in production for different products/businesses. I think even the class-based serializers of DRF are unenjoyable to use. I find DRF's serializers are clunky when you want to avoid duplication. E.g sometimes you might need to get a temporary download link from your object storage, and bolt it onto the serializer. So, in short, Django Ninja looks like a superior to me.
React + Django + Ninja (Full-stack app in 15 mins)
12:17
Tom Dekan
Рет қаралды 2,8 М.
Writing REST With Django and Ninja
1:10:12
PyCharm, a JetBrains IDE
Рет қаралды 10 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
File Uploads - with Django REST Framework!
32:39
BugBytes
Рет қаралды 6 М.
django Architecture - Connection Management
15:10
Hussein Nasser
Рет қаралды 51 М.
To Do App | Django 3.0
41:14
Dennis Ivy
Рет қаралды 236 М.
Create APIs in Django - Intro to Django Ninja
24:04
Pretty Printed
Рет қаралды 2,2 М.
Easily add Tailwind CSS to Django 💨
9:17
Tom Dekan
Рет қаралды 6 М.
Django-Ninja APIs - Modern API Development in Django
43:40
BugBytes
Рет қаралды 23 М.
Django REST Framework Course - Build Web APIs with Python
1:26:49
freeCodeCamp.org
Рет қаралды 257 М.
How to use Vue with Django (including Auth) 🔒
19:29
Tom Dekan
Рет қаралды 4,7 М.
Add AI suggestions to Django 🗯
8:11
Tom Dekan
Рет қаралды 1 М.