When you mention official documentation, you just proves you are the best out there, you have motivated me to start shifting my learning approach from tutorial to documentations. Thanks a lot man, you are doing a great job
Other mentors talk and talk for hours to the point things become confusing. Dennis explains in 10 minutes with clarity and no 'fat'. I just love his teaching style. So far, best teacher I came across. Please Dennis upload more videos, you are the reason I am coding now
This deserves way more likes and shares. You are truly amazing!, I was not able to understand the Rest API even after watching so many videos but this one was AMAZING!
Dennis, You really understand what it takes for an efficient and modern app!! You manage the perfect languages to achieve success. I hope you help us with a bit of Celery in the future. Thanks so much my friend!!
I appreciate that Sebastian :) I definitely plan to do a few videos with Celery. I'm working on a few videos for this course and a the few projects so its been tough getting to it. Its highly requested.
Hey Dennis, i'm more familar with java + spring boot framework. But i recently got an job opportunity in python + django. I learned a lot from your tutorial about django, and in just few days i was able to create my first, simple app with basic GUI. Now i'm moving to django rest framework, i just wanted to say - thank you for your work. I think i will get this job, thanks to you :)
@@NishantCosmos i wanted to work in java, because there are much more job opportunities, but company i currently work for agreed to take me in if i can show them that i will be able to learn python. (it wasn't intended but i decided to go with it. Company location is very close to where i live and i already know people in there)
I jumped into python literally only yesterday, now I'm watching this LOL. But I'm already really familiar with express so it's not totally foreign... This is the kind of high intensity, no beating around the bush content I need though!! Thanks!!
The fundamentals are totally the same as with every framework. You have models, routers, and views. However, Django is convention over configuration. If I will compare anything to Express, that would be Flask web framework. Good luck anyway!
Thank you Dennis for such easy and simply tuorials . and for anyone whos looking to lock certain api request can do this from rest_framework.decorators import api_view , permission_classes from rest_framework.permissions import IsAuthenticated , IsAdminUser @api_view(['GET','DELETE']) @permission_classes((IsAuthenticated,IsAdminUser )) def productDetial(request,pk): try: product = Product.objects.get(id=pk) except Snippet.DoesNotExist: return HttpResponse(status=404) if request.method == 'GET': serializer = ProductSerializer(product) return Response(serializer.data) elif request.method == 'DELETE': product.delete() return HttpResponse(status=204)
Thank you so much. Your explanation is so clear and I am very happy that I can run the code successfully in just once attempt :)) I hope I will complete my homework to create a django-react website
Kudos dude! I started watching your tutorial Django for Beginners (almost completed the project), then I moved on onto learning React because I saw greater market opportunities where I live. Then I actually got my first freelancer job as a React Developer, and at the same time some bigger company wanted to hire me to work with Python, Django and JavaScript. We are actually building an API manager. I am coming back to ur tutorials because I think it's going to help me to solve a problem I have with the admin dashboard of the project: I have a model with 2 Foreign Keys in Django and I need to pass that info to the frontend, there Backbone JS will handle the models, allow the user to add more fields to those models, or erase them, and then send the data back to the server). Thanks for all the effort and good work u r putting in these videos! Really appreciate the effort. How can we contribute for you to keep up the good work?? I think the Django-REST framework combined with React is a Hot Topic. I welcome more of those projects!
0:53 what is rest api and why do we need it 1:40 Introduction to Django Rest API Framework documentation and how to install etc 2:22 How to install DRF 2:42 Django Project Setup overview, todo_drf/settings.py 3:00 models.py 3:21 todo_drf/urls.py 3:26 api/urls.py 3:30 api/views.py 5:50 DRF for function based views 7:08 Explaining all the pages we will create 7:36 api/view.py after all changes 7:58 Json response vs drf api view with ?format=json 8:05 Serializing data into JSON data 10:15 api/serializer.py 11:57 Serializing one vs many Tasks. 12:43 api/views.py after taskList view and all imports 13:08 api/urls.py after adding taskList view 13:30 the Tasks that Dennis created for the project 13:35 Start Detail View 14:27 api/views.py after adding detail view 15:15 api/urls.py after adding task detail view and fixing pk 15:45 Starting Create Task view 16:23 Introduction to request.data from an DRF API View 17:07 api/views.py after adding taskCreate view. 17:28 api/urls.py after adding taskCreate url 17:34 sending a POST request to add a task using DRF api view without using POSTMAN or anything else. 18:21 Starting the taskUpdate view. 19:14 api/views.py after adding the taskUpdate view 20:16 api/urls.py after adding taskUpdate url 20:17 Starting the taskDelete view 21:04 api/views.py after adding taskDelete view 21:22 api/urls.py after adding taskDelete url. Thank you for making this tutorial dennis. I watched this when it first came out a while back and was a little overwhelmed because i was still a beginner at django, but after working on a few django projects, I understand enough to follow this tutorial and have a better grasp of it. I made these timestamps so I could refer to it myself if I need a quickstart guide. All the other tutorials required me to download postman or insomnia and I appreciate that you made this tutorial without it first to keep it less overwhelming too.
Hey, dude, awesome video! Keep up the great work. I love the fact that it’s condensed and fast paced and straight to the point! Really really cool. Just out of curiosity: do you have any Bulgarian roots? I noticed your surname is Ivanov. Peace out from Bulgaria ^_^
your videos are amazing, they are all so helpful. u r literally the reason I use django. now, im trying to make an API with SSO system using django. could u please make a tutorial for it? it'd be really great.
What's the best way to structure relational data and routes? Let's say you had a parent list model to which a todo is foreign keyed. In your frontend you'd have a master view for the array of lists, and you'd click on one to get the corresponding list of the todos. I've been looking at useSWR for React, but I'd need to structure my API on the backend to properly cache related data on the frontend. That being said how do you effectively create routes and views for related data. Would you have /api/lists and /api/lists//todos or /api/todos at the toplevel? Is there a mixin to handle this? I have yet to see more advance view declaration.
Excellent work, I've been following you ever since I started in django and a lot of knowledge that I have came from you, will we see and django rest framework tutorial into the future like a complete one, thanks.
Don't forget to check out my Complete Django course: dub.sh/NvGboTI
When you mention official documentation, you just proves you are the best out there, you have motivated me to start shifting my learning approach from tutorial to documentations.
Thanks a lot man, you are doing a great job
Other mentors talk and talk for hours to the point things become confusing. Dennis explains in 10 minutes with clarity and no 'fat'. I just love his teaching style. So far, best teacher I came across. Please Dennis upload more videos, you are the reason I am coding now
Watching your tutorials makes me more confident about the interviews.
no one can teach like you.. especially in very short time and straight to the point
Your channel is a goldmine for my Django learning journey. Thank you so much for sharing this quality content!
He is the django legend for me. He is my go to guy for django and never disappoint.
This has to be one of the most straightforward, concise, and culled videos on Django I have ever seen. 10/10
That's why I give your channel name to everyone who seeks point to point programming. Beautifully explained and delivered.👌
This deserves way more likes and shares. You are truly amazing!, I was not able to understand the Rest API even after watching so many videos but this one was AMAZING!
day 2 of my internship and im leraning REST from you. thanks dennis.
Most crisp django rest framework tutorial out there. Straight to the point. Thanks!
BEST DJANGO REST TUTORIAL. Seen them all, even udemys. This is condensed, perfectly explain. Keept it pretty vanilla but in enoguh dept. Congrats!
Thank you! I still need to get back to this series. Got caught up with a few other projects.
This is probably the best backend tutorial I have seen. Django > node
I'm in 2024 and this is my first crud in django and you made it so simple thank you so much 🎉
simple and best i watced lots of videos for rest_framwork but here i got whati wanted . thanks brother you deserve millions of subscriber
The simplest explanation of Django Rest Framework in such a short period of time. Straight to the point. Really amazing
Dennis, You really understand what it takes for an efficient and modern app!!
You manage the perfect languages to achieve success. I hope you help us with a bit of Celery in the future. Thanks so much my friend!!
I appreciate that Sebastian :) I definitely plan to do a few videos with Celery. I'm working on a few videos for this course and a the few projects so its been tough getting to it. Its highly requested.
The way you explain and keep it as simple as possible is really beautiful. Thank you
Ah! This is high quality content Dennis! Thanks for the video! 😊
I appreciate that Aashay :)
Thanks man, finally somebody who explains it well.
Hey Dennis, i'm more familar with java + spring boot framework. But i recently got an job opportunity in python + django. I learned a lot from your tutorial about django, and in just few days i was able to create my first, simple app with basic GUI. Now i'm moving to django rest framework, i just wanted to say - thank you for your work. I think i will get this job, thanks to you :)
Wow congrats 🎉 So happy my videos were helpful for you! Best of luck!
why you learned java if u wanted to work with django
@@NishantCosmos i wanted to work in java, because there are much more job opportunities, but company i currently work for agreed to take me in if i can show them that i will be able to learn python. (it wasn't intended but i decided to go with it. Company location is very close to where i live and i already know people in there)
Mate!! You are a legend and the best. You have just made this so much easier to understand!!
Eagerly waiting for this series, you're awesome.
Explained in a very simple and easily understandable way. Thanks a lot Dennis! Your channel definitely deserves more views and subs
I really love this particular tutorial. Very short and concise. Was a great refresher for me
Thanks you so much 🥰
Using django restframework was a nightmare for me until I watched this video
An awesome short tutorial, a refresher for Django Rest Framework. Thanks for sharing it.
Explained in such a simple way. Awesome work.
must say the way you explain make it so simple!
Thank you for providing source code in the description
I jumped into python literally only yesterday, now I'm watching this LOL. But I'm already really familiar with express so it's not totally foreign... This is the kind of high intensity, no beating around the bush content I need though!! Thanks!!
The fundamentals are totally the same as with every framework. You have models, routers, and views. However, Django is convention over configuration. If I will compare anything to Express, that would be Flask web framework. Good luck anyway!
And i notice your comment was one year ago so you probably know more of Django by now I suppose.
I'm all for this! Subscribed for more django REST framework + react.
Excellent work, Hope some tutorial how to work "scheduling request" (using celery) with django rest api
Soon my friend :) Thanks for your support and feedback!
Budy, thank you so much! You gave an extremely wealth knowledge in a so easy way!
ooooh the best django rest api tutoriel ,the simple and the faste one.
Thank you Dennis for such easy and simply tuorials .
and for anyone whos looking to lock certain api request can do this
from rest_framework.decorators import api_view , permission_classes
from rest_framework.permissions import IsAuthenticated , IsAdminUser
@api_view(['GET','DELETE'])
@permission_classes((IsAuthenticated,IsAdminUser ))
def productDetial(request,pk):
try:
product = Product.objects.get(id=pk)
except Snippet.DoesNotExist:
return HttpResponse(status=404)
if request.method == 'GET':
serializer = ProductSerializer(product)
return Response(serializer.data)
elif request.method == 'DELETE':
product.delete()
return HttpResponse(status=204)
It is Really very helpful to learning 🔥 Django from your every video... I want to thank you bro for your all tutorials.
.
.
You "vera level"❤️
Is it just me or is it refreshing seeing a tutorial that’s using windows?
Lol no. Also sublime text is pretty cringe compared to neovim, pycharm or vscode
You are making look Django Rest Framework so Easy....Great work brother....Straight away I subscribed your channel..
The best tutorials I've ever seen
THANK YOU!
Dangal.
Thank you Dennis. i completd CRUD APIs for ToDo.
Hope so it'll be another great series..
Thanks walid! By the way I got your email, sorry i haven't had a chance to reply. Congrats on solving the problem you were having!
Awesome! Excited for what's to come in the series! Much thanks!
Thanks for watching :)
Thank you so much dennis...U are helping a lot of people with your amazing and extremely useful contents 🙏
You make the concept very clear. Thank You.
Thank you Sooo much ,, your tutorials are very straightforward ,, with minimized complexities .
You are the best! Thx for the video! I am stucked on my project and your two videos gives the answer to it. Thx!
I just love how you explain things
🙇🏿thank you
Thanks to the best Django tutor out there.✌️
dennis ,thanks alot,i appreciate you,you just saved my life.
Keep going my friend! Thank you for your feedback :)
Thank you so much. Your explanation is so clear and I am very happy that I can run the code successfully in just once attempt :)) I hope I will complete my homework to create a django-react website
Really talented mentor thank you for starightforward tutorials
Kudos dude! I started watching your tutorial Django for Beginners (almost completed the project), then I moved on onto learning React because I saw greater market opportunities where I live. Then I actually got my first freelancer job as a React Developer, and at the same time some bigger company wanted to hire me to work with Python, Django and JavaScript. We are actually building an API manager. I am coming back to ur tutorials because I think it's going to help me to solve a problem I have with the admin dashboard of the project: I have a model with 2 Foreign Keys in Django and I need to pass that info to the frontend, there Backbone JS will handle the models, allow the user to add more fields to those models, or erase them, and then send the data back to the server).
Thanks for all the effort and good work u r putting in these videos! Really appreciate the effort. How can we contribute for you to keep up the good work??
I think the Django-REST framework combined with React is a Hot Topic. I welcome more of those projects!
So how's your project going
Your tutorials are really great. Great work
Awesome Dennis, I am loving your videos :) real informative video..
You do it like Superman. I will raise my hat to you
Wow! How the fundamentals are cleared with such short time.
Excellent work, really smooth and perfect
Weldone Denis. Now onto front-end. Thank you
Absolutely!
Nice tutorial bro, it helped me a lot to understand restframework
At last, i found something precise... Thanks for it
Great tutorial. Perfect tempo, covered a lot so it is easy to get started. Thanks.
Short and sweet, thank you!
Excellent video Dennis, thanks for sharing
Incredibly clear and helpful resource
To Clear and Crispy Content thanks brother
You're awesome Dennis, you deliver a lot with your work thanks
I appreciate that Ryan :)
Thanks for the hard work, waiting for the next deployment..
wow... really nice explanation! thank you for an amazing video!
Hi, still waiting for more videos on this tutorial series oh and hope 2021 isn't so bad for you.
Nice tutorial...will wait for upcoming videos
Awesome as always. Thank u so much Dennis.
Excellent, It's really easy to understand
Clap for Dennis 👏
:)
Thank you! clear and easy to follow.
Amazing ! Just what I was looking for
OMG my PEP8 spider sense is constantly triggered watching this.
Plz Continue these series
Love to do see a version where you refactor your code to show class based views.
0:53 what is rest api and why do we need it
1:40 Introduction to Django Rest API Framework documentation and how to install etc
2:22 How to install DRF
2:42 Django Project Setup overview, todo_drf/settings.py
3:00 models.py
3:21 todo_drf/urls.py
3:26 api/urls.py
3:30 api/views.py
5:50 DRF for function based views
7:08 Explaining all the pages we will create
7:36 api/view.py after all changes
7:58 Json response vs drf api view with ?format=json
8:05 Serializing data into JSON data
10:15 api/serializer.py
11:57 Serializing one vs many Tasks.
12:43 api/views.py after taskList view and all imports
13:08 api/urls.py after adding taskList view
13:30 the Tasks that Dennis created for the project
13:35 Start Detail View
14:27 api/views.py after adding detail view
15:15 api/urls.py after adding task detail view and fixing pk
15:45 Starting Create Task view
16:23 Introduction to request.data from an DRF API View
17:07 api/views.py after adding taskCreate view.
17:28 api/urls.py after adding taskCreate url
17:34 sending a POST request to add a task using DRF api view without using POSTMAN or anything else.
18:21 Starting the taskUpdate view.
19:14 api/views.py after adding the taskUpdate view
20:16 api/urls.py after adding taskUpdate url
20:17 Starting the taskDelete view
21:04 api/views.py after adding taskDelete view
21:22 api/urls.py after adding taskDelete url.
Thank you for making this tutorial dennis. I watched this when it first came out a while back and was a little overwhelmed because i was still a beginner at django, but after working on a few django projects, I understand enough to follow this tutorial and have a better grasp of it. I made these timestamps so I could refer to it myself if I need a quickstart guide. All the other tutorials required me to download postman or insomnia and I appreciate that you made this tutorial without it first to keep it less overwhelming too.
Great great great!! Thank you so much for this awesome video
thank you for all your you are the best youtuber
Hey, Dennis plz complete this rest framework playlist. I just love to learn from you.
This is a really nice DRF tutorial video, but there should be a warning for people with pep8-related OCD.
Thank you so much, this is enough to get me started!
I am learning django ...u r all django tutorial I can understand easily . will job saghaa hear saghaa mean brother as my own...
Amazing content Dennis!! thanks for sharing :D
Hey, dude, awesome video! Keep up the great work. I love the fact that it’s condensed and fast paced and straight to the point! Really really cool. Just out of curiosity: do you have any Bulgarian roots? I noticed your surname is Ivanov. Peace out from Bulgaria ^_^
Thank you man. You are the best.
Really helpful.
Dennis, could you please make a video on how to import 100s of XML data into sql tables at once using django serialisation
your videos are amazing, they are all so helpful. u r literally the reason I use django. now, im trying to make an API with SSO system using django. could u please make a tutorial for it? it'd be really great.
Man, your smile kills.
simple, clean, awesome
You rock Dennis!
i subscribed just for django restframework
What's the best way to structure relational data and routes? Let's say you had a parent list model to which a todo is foreign keyed. In your frontend you'd have a master view for the array of lists, and you'd click on one to get the corresponding list of the todos.
I've been looking at useSWR for React, but I'd need to structure my API on the backend to properly cache related data on the frontend. That being said how do you effectively create routes and views for related data. Would you have /api/lists and /api/lists//todos or /api/todos at the toplevel? Is there a mixin to handle this? I have yet to see more advance view declaration.
Thanks, this video helped me quite a lot!!!
Thank you !!! it is something i was looking for...
Thanks for this. Great tutorial
Excellent work, I've been following you ever since I started in django and a lot of knowledge that I have came from you, will we see and django rest framework tutorial into the future like a complete one, thanks.