Getting Started with Django REST Framework | FREE Full Course | SCALER

  Рет қаралды 77,998

SCALER

SCALER

Күн бұрын

Django Rest framework is used to create REST apis in python. Django rest framework is one of the most popular and powerful frameworks in the python ecosystem. In this video, we will learn Django rest framework. The video contains advanced topics of the Django rest framework with complete tutorial. All the topics which you need to learn in the Django rest framework are covered in this one video like pagination, authentication, APIview, Modelviewset, Actions and more.
00:00 Introduction
01:10 - What is API and Why do we use Django rest framework
5:38 - Django rest framework setup
9:01 - API view decorators
18:30 - GET, POST, PUT method in API view decorators
22:57 - Creating model
27:57 - Writing serialisers
30:53 - CRUD method using serializers
46:05 - Validation in serializers
55:37 - Serializing foreign key in Django rest framework
1:06:13 - More About serializers in DRF
1:11:04 - APIView class in DRF
1:19:13 - ModelViewSet in DRF
1:27:47 - Status code in DRF
1:31:08 - Token Authentication in DRF
1:50:45 - Permissions in DRF
1:55:27 - Pagination in DRF
2:00:52 - Actions in Django rest framework
2:09:33 - Summary of the course
--------------------------------------- About SCALER -------------------------------------------------
A transformative tech school, creating talent with impeccable skills. Upskill and Create Impact.
Learn more about Scaler: bit.ly/3NG4vvU
📌 Follow us on Social and be a part of an amazing tech community📌
👉 Meet like-minded coder folks on Discord - / discord
👉 Tweets you cannot afford to miss out on - / scaler_official
👉 Check out student success stories, expert opinions, and live classes on Linkedin - / scale. .
👉 Explore value-packed reels, carousels and get access to exclusive updates on Instagram - / scaler_offi. .
📢 Be a part of our one of a kind telegram community: t.me/Scalercommunity
🔔 Hit that bell icon to get notified of all our new videos 🔔
If you liked this video, please don't forget to like and comment. Never miss out on our exclusive videos to help boost your coding career! Subscribe to Scaler now!
kzbin.info?sub_co...
#careertips #techcareer #careerroadmap #softwareengineer #SCALER

Пікірлер: 64
@AshisRaj
@AshisRaj Жыл бұрын
Concise and crisp. Excellent explanation
@mukeshmahadev7419
@mukeshmahadev7419 Жыл бұрын
Content is awesome. Covering the content in such a short time is very useful especially before the interviews. Thank you Abhijeet and Scaler for this video.
@SCALER
@SCALER Жыл бұрын
Thanks! Glad this was helpful! 😃
@codemedic
@codemedic Жыл бұрын
Thanks man! 🎉😊With this course, I'm gonna b a pro in no time! 🤩
@adityakshetry6997
@adityakshetry6997 Ай бұрын
thanks bro for revieving my career .Respect From NEPAL .
@ganeshanna3
@ganeshanna3 Жыл бұрын
Great video sir. great effort, keep it up. One of the best DRF tutorials, Thanks!
@SCALER
@SCALER Жыл бұрын
Thanks! Glad this was helpful! 😃
@gerardJo
@gerardJo 8 ай бұрын
Wow, great video. Was looking for this for some time, thanks!!
@SCALER
@SCALER 8 ай бұрын
Happy to hear that! 🙌🏼
@ChowdhuryMaksud
@ChowdhuryMaksud Жыл бұрын
thank you for the tutorial but 41:10 every time you are doing a PUT or PATCH a new instance is being created instead of replacing the old one. You can see that from the json reply postman gets, the id is incremented in every new reply. This simple change of code will fix this issue, inside the if and elif condition put these lines accordingly, refObj=peopleModel.objects.get(id=id_taken_fromURL_or_requestData) seralizer=PeopleSerializer(instance=refObj , data=request.data) Thank you alot for this great effort
@cosmicoo7
@cosmicoo7 9 ай бұрын
galat padha rahe hai ye log
@AyushSingh-fw6uq
@AyushSingh-fw6uq 19 күн бұрын
its not in patch only in put,because he forgot to write the code which he has written in patch ie. obj=Person.objects.get(id=data['id']) serializer(obj,data=data)
@raj7ashu
@raj7ashu 7 күн бұрын
It is a wonderful course for getting information about DRF. I have one query. When I am using MoelViewSet , GET and POST is working fine but in case of PUT, PATCH and DELETE it gives me error: Method not allowed. What is the reason behind this ?
@prankishoriitkgp3772
@prankishoriitkgp3772 2 ай бұрын
as a beginner, took more than 20 hrs to finish the course but content was concise and great, hats off to Abhijeet
@MihirSanjayYadav
@MihirSanjayYadav 2 ай бұрын
these kinda tutorials are what put someone in TUTORIAL HELL
@arreankit
@arreankit 2 жыл бұрын
Thanks, Abhijeet. 👏
@PriyanshuKumar-io4cs
@PriyanshuKumar-io4cs Жыл бұрын
45:57 please explain the changes in put method using serializers. You directly copy pasted the same code of post request @scaler. Thank you.
@musaibaltaf2678
@musaibaltaf2678 Жыл бұрын
This was just awesome. Kudos!
@SCALER
@SCALER Жыл бұрын
Happy to hear that! 🙌🏼
@byte_it945
@byte_it945 2 ай бұрын
best tutorial i've seen yet
@dhruvikdeveloper9108
@dhruvikdeveloper9108 Жыл бұрын
very help full for bigginerss
@teamerror_net
@teamerror_net Жыл бұрын
Thanks a lot from Bangladesh 🧡
@guhanathanprathish9704
@guhanathanprathish9704 5 ай бұрын
Thanks a lot buddy🤝👊
@OMPRAKASH-ul2cc
@OMPRAKASH-ul2cc 11 ай бұрын
Amazing bro.
@Luckey-y4x
@Luckey-y4x 13 күн бұрын
great explanation
@ankitpradhan3327
@ankitpradhan3327 4 ай бұрын
At 42:13 , don't you think the code written for PUT operation is similar to what it has been written for POST operation and hence will create a new entry instead of updating the existing entry. We should be serializer.update() method instead
@keshavachandu99
@keshavachandu99 3 ай бұрын
Thank you a lot!
@chillaxbaap
@chillaxbaap 8 ай бұрын
Indian educators have a long way to go. Vast quality difference from the likes of Mosh or Dennis Ivy
@user-nr8lr7bs6l
@user-nr8lr7bs6l 6 ай бұрын
Awesome course I've ever found............ 🥰💘
@SCALER
@SCALER 6 ай бұрын
Happy to hear that! 🙌🏼
@VishnuPK-qw4mw
@VishnuPK-qw4mw 3 ай бұрын
Wonderful
@Allin-dd8gj
@Allin-dd8gj Жыл бұрын
Thanks ❤
@abhirammedapuram2334
@abhirammedapuram2334 9 ай бұрын
Where did the old code for views go at 30:59 ???
@BVec-zm1ye
@BVec-zm1ye 3 ай бұрын
I got an error in apiview class post method. Can anyone explain this Error: non field error
@eyadalhasan2595
@eyadalhasan2595 9 ай бұрын
Awesome and very useful
@SCALER
@SCALER 9 ай бұрын
Happy to hear that! 🙌🏼
@shubhamkhuntia2412
@shubhamkhuntia2412 Жыл бұрын
It was good. You left Testing, Unit tests
@kidschannel7643
@kidschannel7643 10 ай бұрын
Django restful api and Django rest frame work both are same Ah bro ?
@sakshijain2095
@sakshijain2095 2 ай бұрын
The practise is good but please also just explain the what the methods do when we are using them ☺️
@prashantjaiswal4610
@prashantjaiswal4610 2 жыл бұрын
.create() method does not support writable nested fields by default. Can anyone tell about this
@Pramodsharma-uz8ix
@Pramodsharma-uz8ix Жыл бұрын
Yes, This person is out of context.. 😂. He skiped and making us fool.
@anujkondhalkar9776
@anujkondhalkar9776 Жыл бұрын
@@Pramodsharma-uz8ix So is this scaler overated.
@Human_710
@Human_710 4 ай бұрын
Thanks
@kaankosti1279
@kaankosti1279 11 ай бұрын
LEGEND
@shakthinaarayananr7639
@shakthinaarayananr7639 2 жыл бұрын
55:12 -- nicely he skipped explaining create in nested serializer. Not good :(
@shubhamkhuntia2412
@shubhamkhuntia2412 Жыл бұрын
@Scaler Why this carelessness
@SushantNair-nz4gh
@SushantNair-nz4gh Ай бұрын
Good video, but the learner needs to be alert as there are some gaps which if not accounted for can lead to errors.
@kaankosti1279
@kaankosti1279 11 ай бұрын
Can you also do advanced backend course with django please
@SCALER
@SCALER 11 ай бұрын
Hi, we have duly made a note of your suggestion and it will be passed on to our relevant teams. Thank you! 😊
@MohammedAshik-ts1kd
@MohammedAshik-ts1kd 7 күн бұрын
abhijeet bro nicely escaped from nested serializer 🤣🤣🤣🤣
@gokulsrinivasan8563
@gokulsrinivasan8563 11 ай бұрын
Really content is good. One kind request is, please upload 1080px video
@SCALER
@SCALER 11 ай бұрын
Hi Gokul, we have duly made a note of your suggestion and it will be passed on to our relevant teams. Thank you! 😊
@shivamdubey229
@shivamdubey229 Жыл бұрын
can i get github link of the code
@roshanchauhan1123
@roshanchauhan1123 6 ай бұрын
No
@user-pf4sc4hv1m
@user-pf4sc4hv1m 2 ай бұрын
7:35
@TamilTutEra
@TamilTutEra 9 ай бұрын
i am getting the error as django.db.utils.OperationalError: no such table: home_person
@prashantjaiswal4610
@prashantjaiswal4610 2 жыл бұрын
Todo project?
@shakthinaarayananr7639
@shakthinaarayananr7639 2 жыл бұрын
Not Todo bro it is crud operation n DRF + types of serialisation + pagination+ token authentication and validation
@kidszone5522
@kidszone5522 6 ай бұрын
Source code
@user-dq5xc1kk6n
@user-dq5xc1kk6n 11 ай бұрын
Thanks Abhijeet I am following you from long time ..... I am a student in Scaler but bhai inkey piche mat lagna SCALAER==SCAM , They dont have any placement
@SCALER
@SCALER 11 ай бұрын
Hi Yash, this is not what we stand for & we’d like to highlight this internally. We appreciate you taking the time to bring this forward & our apologies once again for the experience you’ve had to endure. Please write to us at support@scaler.com along with your relevant details or share your contact details and e-mail ID with us via Twitter/Facebook/Instagram DM, so that we can connect with you.
@gokulsrinivasan8563
@gokulsrinivasan8563 11 ай бұрын
🤣
@akashpmani
@akashpmani 10 ай бұрын
hello am getting { "detail": "Unsupported media type \"text/plain\" in request." } this error in post man and Unsupported Media Type: /api/people/ [25/Sep/2023 12:51:31] "POST /api/people/ HTTP/1.1" 415 62 this error on terminal do anyone know how to resolve it
@Dineshtech-xr8id
@Dineshtech-xr8id 10 ай бұрын
im getting this error obj = Person.objects.get(id=data['id']) ~~~~^^^^^^ KeyError: 'id' when i try to validate
Django REST Framework - Build an API from Scratch
40:39
Caleb Curry
Рет қаралды 208 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 22 МЛН
Learn Django in 20 Minutes!!
21:25
Tech With Tim
Рет қаралды 332 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 219 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 57 М.
5 Amazing Ways to Automate Your Life using Python
18:40
Internet Made Coder
Рет қаралды 226 М.
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
Django API Authentication using JWT Tokens
37:06
Scalable Scripts
Рет қаралды 173 М.
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 382 М.
🔥 Ultimate Django Rest API Course in Hindi |  Rest APIS using Django in one shot
1:49:41
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН