Getting Started With Django REST Framework

  Рет қаралды 199,302

Pretty Printed

Pretty Printed

Күн бұрын

Easily build REST APIs Django using the Django REST Framework. In this video, I introduce the framework to you.
Need one-on-one help with your project? I can help through my coaching program. Learn more here: prettyprinted.com/coaching
Join my free course on building a Todo API with Django REST Framework: prettyprinted.com/djangotodoapi
Get the code here: s3.us-east-2.amazonaws.com/pr...
Twitter: / pretty_printed
Github: github.com/prettyprinted

Пікірлер: 280
@prettyprinted
@prettyprinted 4 жыл бұрын
Join my free course on building a Todo API with Django REST Framework: prettyprinted.com/djangotodoapi
@garrettfernando7415
@garrettfernando7415 2 жыл бұрын
you all probably dont care at all but does someone know of a way to get back into an instagram account?? I was stupid lost the account password. I would appreciate any tricks you can offer me.
@nelsonluciano6641
@nelsonluciano6641 2 жыл бұрын
@Garrett Fernando Instablaster =)
@garrettfernando7415
@garrettfernando7415 2 жыл бұрын
@Nelson Luciano i really appreciate your reply. I got to the site through google and I'm in the hacking process now. I see it takes a while so I will reply here later when my account password hopefully is recovered.
@garrettfernando7415
@garrettfernando7415 2 жыл бұрын
@Nelson Luciano It did the trick and I finally got access to my account again. I am so happy:D Thanks so much you really help me out!
@nelsonluciano6641
@nelsonluciano6641 2 жыл бұрын
@Garrett Fernando Glad I could help =)
@yairabad5697
@yairabad5697 4 жыл бұрын
I spent a lot of time searching a tutorial where explained, as good as this one, how viewSet and router work simply and clearly. Thanks this helped me a lot!
@yuv54
@yuv54 4 жыл бұрын
I have been looking for Django REST Framework tutorial for the last couple of days and this is far better than any other so far. Thanks to keep it simple. In other tutorial they try to cover up almost all concept in one video which makes those messy. But this is a good beginner level tutorial I must say. Please keep it up.
@HSharpknifeedge
@HSharpknifeedge 4 жыл бұрын
This is so far, the most detailed tutorial on KZbin. I've watched all other Django API tutorials and they deal with the GET, POST manually instead of using the router.
@delphinemico4283
@delphinemico4283 5 жыл бұрын
This is one of the best tutorials I have ever seen on KZbin. Simple, informative and straight to the point. Thank you for this great work. I will be checking out your website as well.
@prettyprinted
@prettyprinted 5 жыл бұрын
Thanks for watching!
@Shubh22
@Shubh22 4 жыл бұрын
Concise and yet elaborate. This is the YT best video tutorial on Django rest framework.
@svendavison
@svendavison 4 жыл бұрын
I'm agree with Bruno Santos! Even with the errors, you showed how to fix it and why. I even changed the class and fields while following my first time. The video was so good and informative that i still made my WORKING rest api on the first try from this video. Thanks a bunch!
@udhayprakashpethakamsetty
@udhayprakashpethakamsetty 4 жыл бұрын
I checked many videos. But, I felt the ease and comfort in your explanation. Now, I understood the DRF. Thank you
@ajaybhagchandani5116
@ajaybhagchandani5116 5 жыл бұрын
Relatively new to Django. Just a few months since I've started to understand it. This is my First video I'm viewing on youtube related to the Rest Framework. Trust me I enjoyed every bit of it. It's Awesome. THanks alot.
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome! Thanks.
@brunosantos3672
@brunosantos3672 4 жыл бұрын
Excellent job. I followed the instructions and everything worked correctly. Helped me a lot.
@vinodsagar2412
@vinodsagar2412 5 жыл бұрын
One of the best explanations for REST FRAMEWORK....thanks a lot
@SATHISHKUMAR-dg6og
@SATHISHKUMAR-dg6og 4 жыл бұрын
I LITERALLY WASTED ONE DAY IN SEEING OTHER KZbin AND UDEMY VIDEOS FOR REST FRAMEWORK...!! YOU ARE THE BEST IN TEACHING REST FRAMEWORK,. THANK YOU SO MUCH
@finalfantasy7820
@finalfantasy7820 4 жыл бұрын
Same here lol.
@jorgedavalos5663
@jorgedavalos5663 4 жыл бұрын
haha! the same happened to me!
@bilardish
@bilardish 5 жыл бұрын
The best explanation about DRF. God bless you
@rottgren9491
@rottgren9491 6 жыл бұрын
Thank you a lot! So many guides and "get started"s for django and rest and so hard to understand how it really works for someone new at this technology as me
@prettyprinted
@prettyprinted 6 жыл бұрын
Glad the video helped!
@kaushit
@kaushit 4 жыл бұрын
simplest tutorial on KZbin so far, good job man.. 👍, dunno understand why everyone making this thing so tough on other channels, glad i found this channel. liked and subscribed from my side.
@prettyprinted
@prettyprinted 4 жыл бұрын
Thanks for watching!
@snshusat161
@snshusat161 5 жыл бұрын
Thanks. It helped a lot. I liked because of two reasons. First, it's the very few tutorials on rest framework using Djnago 2 and second it's easy and straight forward. The other tutorials I watched very extremely intimidating.
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome! I'm glad the video helped.
@algoriticus
@algoriticus 6 жыл бұрын
Great Video, compressed hours of knowledge into minutes. Best intro to this concept thus far!
@prettyprinted
@prettyprinted 6 жыл бұрын
Thanks for watching!
@vishalverma5280
@vishalverma5280 3 жыл бұрын
most sober and clean explanation till date !
@ankitasinha7892
@ankitasinha7892 3 жыл бұрын
This is so much better than all other youtube django videos I watched so far. Thank You
@prettyprinted
@prettyprinted 3 жыл бұрын
Glad it was helpful!
@amirshehzad3352
@amirshehzad3352 5 жыл бұрын
Finally found the lecture I was looking for. Thanks A lot. Can you please points some good resources for further in Django REST Framework?
@kadursandy
@kadursandy 3 жыл бұрын
You are a amazing person, I like the voice, content and your tutorials all the time!!! one word - everything about web development made very eazy
@roberttorres2861
@roberttorres2861 4 жыл бұрын
This was a such a clear and easy to follow tutorial. Thank you for making this!
@prettyprinted
@prettyprinted 4 жыл бұрын
You're welcome! Thanks for watching
@nasrinasayesh5073
@nasrinasayesh5073 2 жыл бұрын
i love this course . it is the best . you teach very easily .please continue ❤❤❤
@alejandrogarcia-mb4sv
@alejandrogarcia-mb4sv 5 жыл бұрын
really love you, i've seen a few videos about rest_framework but yours was the best!!
@prettyprinted
@prettyprinted 5 жыл бұрын
Thanks! I hope to make more in the future.
@gauravphagre7509
@gauravphagre7509 4 жыл бұрын
perfect rest_framework basics videos i came across youtube till today. Thanks a lot
@prettyprinted
@prettyprinted 4 жыл бұрын
You're welcome! I'm glad you like the videos.
@bonioctavianus308
@bonioctavianus308 4 жыл бұрын
as mobile app dev, this tutorial is really helpful, clear and simple, thanks!
@aaditshah5825
@aaditshah5825 4 жыл бұрын
Loved the awesomely detailed and crisp video ! Had forgotten to give a like so came back to this video to do that hahaha!
@prettyprinted
@prettyprinted 4 жыл бұрын
Thanks for the like and for watching!
@asdfghjkl36958
@asdfghjkl36958 3 жыл бұрын
Thanks for the great tutorial, definitely the best one on KZbin!
@apsrajput2805
@apsrajput2805 6 жыл бұрын
Awesome video and explanation as well! very much informative and easy to understand..
@RandomShowerThoughts
@RandomShowerThoughts 5 жыл бұрын
this was one of the best videos on the rest framework ive ever seen!
@prettyprinted
@prettyprinted 5 жыл бұрын
Glad you like it. Thanks for watching!
@michaelkennedy5126
@michaelkennedy5126 5 жыл бұрын
This is the "start here" video for DRF if you are new imho.
@prettyprinted
@prettyprinted 5 жыл бұрын
@@michaelkennedy5126 Thanks for the kind words Michael.
@sukurcf
@sukurcf 4 жыл бұрын
Just an update. I'm using djangorestframework (3.10.2). Didn't need to update the serializer with HyperLinkedModelSerializer. Just the ModelSerializer worked well without any issues.
@indianmongoose
@indianmongoose 3 жыл бұрын
Awesome explanation, Sir, Thanks a lot !
@raisakulakovska3471
@raisakulakovska3471 4 жыл бұрын
Thank you. Short and clear.
@shivanibisht2128
@shivanibisht2128 4 жыл бұрын
Was looking for something like this only. It was neat and to the point
@prettyprinted
@prettyprinted 4 жыл бұрын
Glad you like it! Thanks for watching.
@Khozanai
@Khozanai 4 жыл бұрын
This is a really good tutorial, thank you!
@AmirMotahari
@AmirMotahari 4 жыл бұрын
Thanks man I saw Todo API with Django REST Framework That's so amazing
@prettyprinted
@prettyprinted 4 жыл бұрын
Glad you liked it!
@altafshaikh8778
@altafshaikh8778 5 жыл бұрын
love you bro...u solved my problem.Your code works. Actually, i am facing problem in Post request.Now it is working.
@prettyprinted
@prettyprinted 5 жыл бұрын
Glad it worked for you!
@michaelkennedy5126
@michaelkennedy5126 5 жыл бұрын
Thanks for explaining serializers and the view sets!
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome!
@stephenchineduossai7800
@stephenchineduossai7800 Жыл бұрын
I really appreciate your lecture. Many thanks
@ariashahverdi44
@ariashahverdi44 5 жыл бұрын
Best tutorial on Rest framework of Django
@prettyprinted
@prettyprinted 5 жыл бұрын
Thanks for watching!
@satisharvapalli3457
@satisharvapalli3457 6 жыл бұрын
You deserve everything. very good explanation Anthony.
@prettyprinted
@prettyprinted 6 жыл бұрын
Thanks!
@lndr_ssantos
@lndr_ssantos 4 жыл бұрын
Great tutorial! Thanks!
@schnuffel661
@schnuffel661 5 жыл бұрын
Great video, simple and easy. You've helped me a lot, thanks :)
@prashantmehra5247
@prashantmehra5247 3 жыл бұрын
Thanks bro For teaching this to us
@senpos
@senpos 6 жыл бұрын
DRF is great, thanks for tutorials.
@prettyprinted
@prettyprinted 6 жыл бұрын
You're welcome! Thanks for watching.
@rangabharath4253
@rangabharath4253 5 жыл бұрын
Thank you so much. Waiting for more advanced videos on rest API like user dashboard login register and logout system.
@prettyprinted
@prettyprinted 5 жыл бұрын
I'll see what I can do about more advanced videos. Thanks for watching.
@ayananthta6329
@ayananthta6329 Жыл бұрын
Best One to start. Thank you
@jackyphull
@jackyphull Жыл бұрын
It's Awesome, very nicely explained.😃👍
@piyushupadhyay4633
@piyushupadhyay4633 3 жыл бұрын
Wow! This was the best tutorial I have come across!!!! Thanks a lot.... I was having a hardtime understanding viewsets lol
@akshhay
@akshhay 4 жыл бұрын
Thanks a lot, your videos help me so much💯❤️
@jonatasreis6046
@jonatasreis6046 6 жыл бұрын
Excellent video! It has helped me a lot.
@geoafrikana
@geoafrikana 2 жыл бұрын
Thank you for the useful explanation.
@domingoalvarez3984
@domingoalvarez3984 3 жыл бұрын
This was a great video thanks.
@nikhilmahajan4129
@nikhilmahajan4129 3 жыл бұрын
Thnqq for this video...looking forward to learn more
@kumarsen88
@kumarsen88 5 жыл бұрын
Awesome tutorial. Subscribed right after going through your Flask-Mongo tutorials. Only one thing to suggest: use Djongo, for mongodb integrations with Django. Have done it with this example and it's super yumm!!!
@prettyprinted
@prettyprinted 5 жыл бұрын
Definitely want to make Djongo videos in the future. Thanks for watching!
@atharhussain22
@atharhussain22 4 жыл бұрын
Best content available for django!
@prettyprinted
@prettyprinted 4 жыл бұрын
Thanks for watching!
@liwil9179
@liwil9179 6 жыл бұрын
I usually don't leave comments But super thanks for the video. It helped me a lot!
@prettyprinted
@prettyprinted 6 жыл бұрын
I'm glad it did. Thanks for watching.
@nirav9033
@nirav9033 6 жыл бұрын
Really nice video, very intuitive, Thanks a lot!
@prettyprinted
@prettyprinted 6 жыл бұрын
You're welcome! Thanks for watching.
@crystal14w
@crystal14w 3 жыл бұрын
Wonderful video! Thank you so much :D
@anthonykugel5613
@anthonykugel5613 4 жыл бұрын
Really solid video.
@wilmertorres2940
@wilmertorres2940 6 жыл бұрын
Very good video !. It would be good to be able to include an example with a model and its relationships. To differentiate it from the rest of the video tutorials. regards
@prettyprinted
@prettyprinted 6 жыл бұрын
I put out a video on just that topic. thanks for watching.
@nataliiasorokina4485
@nataliiasorokina4485 4 жыл бұрын
Thanks! That was easy and very useful.
@prettyprinted
@prettyprinted 4 жыл бұрын
Glad it helped! Thanks for watching.
@vijendrakhemnar
@vijendrakhemnar 5 жыл бұрын
Very good explanation. Keep it up, god bless you !!!
@prettyprinted
@prettyprinted 5 жыл бұрын
Glad you like the video. Thanks for watching!
@rounakghosh7177
@rounakghosh7177 4 жыл бұрын
Awesome Man, please keep making videos like this, it really helps us. Can you just explain, how to make api. I have a hazy idea about it. I feel it is somewhat like urls, but it's not. It would be really helpful if you would make a video on it. Thanks a lot.
@diegoebustamante
@diegoebustamante 6 жыл бұрын
Great video. Only thing I had to do in order to get this to work was that I needed to establish a 'base_name' parameter in the urls.py file where we registered the router. It looked something like... 'router.register('languages', views.LanguageView, 'language') I was also using Python3 with this example. Not sure if that made difference to be honest. Cheers
@Ketlhaz
@Ketlhaz 5 жыл бұрын
That was a good tutorial, thanks for help me and greetings from Colombia
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome! Thanks for watching.
@minsukwon3833
@minsukwon3833 4 жыл бұрын
Loved it! Thanks
@alicandonmez6748
@alicandonmez6748 5 жыл бұрын
Great Introduction, I use it for reference. thanks
@prettyprinted
@prettyprinted 5 жыл бұрын
Glad I could help. Thanks for watching!
@shaziahussain3029
@shaziahussain3029 6 жыл бұрын
That was easy and superfast. Thanks.
@prettyprinted
@prettyprinted 6 жыл бұрын
Thanks for watching!
@takundamutombodzi3877
@takundamutombodzi3877 4 жыл бұрын
Excellent tutorial 👏
@abirulezz
@abirulezz 6 жыл бұрын
+Pretty Printed , How do i display the hyperlinked foreignkey objects in the api itself, rather than using hyperlinked or pk? My goal is to filter out the foreignkey object and am not able to if its hyperlinked.
@iancarr3923
@iancarr3923 5 жыл бұрын
Excellent intro - many thanks
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome! Thanks for watching.
@PivotGuy888
@PivotGuy888 4 жыл бұрын
Well explained.
@mazhar0001
@mazhar0001 2 жыл бұрын
all the comments appreciating this video still hold true..!! Thank you!
@ALXG
@ALXG 4 жыл бұрын
Amazing!
@Mezklador
@Mezklador 6 жыл бұрын
BTW: you can just type - for short, in Django CLI ./manage.py createsuperuser
@prettyprinted
@prettyprinted 6 жыл бұрын
I know but it's easier for me to type 'python' than it is to type './' Just the way my fingers have become used to typing I guess.
@dawitnigusu4718
@dawitnigusu4718 5 жыл бұрын
I rarely give comments , this one really worth it
@prettyprinted
@prettyprinted 5 жыл бұрын
Thank you so much. I'm glad you liked the video.
@vishwa4908
@vishwa4908 5 жыл бұрын
clean and neat explanation thank you..
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome!
@SV-mo9vz
@SV-mo9vz 4 жыл бұрын
thanks for great video. Regards from Germany
@zerr0n7eet
@zerr0n7eet 3 жыл бұрын
Loved your explanation. Could you please suggest an way to build API with Django Framework using Excel sheet(with multiple sheets) as database?
@ChannatTem
@ChannatTem 5 жыл бұрын
Great video. I really like it. Thank you very much
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome. Thanks for watching.
@quarkleptons1036
@quarkleptons1036 5 жыл бұрын
Thanks. Really helped!
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome! Thanks for watching.
@krishnpalsinghchouhankp
@krishnpalsinghchouhankp 5 жыл бұрын
Nice video quick and informational
@prettyprinted
@prettyprinted 5 жыл бұрын
Glad you think that. Thanks for watching!
@xtremehackerzpro9511
@xtremehackerzpro9511 6 жыл бұрын
Wow amazing, keep it up! :D
@prettyprinted
@prettyprinted 6 жыл бұрын
Thanks!
@ThePingeon
@ThePingeon 6 жыл бұрын
Very nice! thanks a lot
@prettyprinted
@prettyprinted 6 жыл бұрын
Thanks for watching!
@SkillGamingNL
@SkillGamingNL 4 жыл бұрын
Very good video!
@prettyprinted
@prettyprinted 4 жыл бұрын
Thanks for watching!
@marcobaldanza2332
@marcobaldanza2332 6 жыл бұрын
good job, nice explanation.
@prettyprinted
@prettyprinted 6 жыл бұрын
Thanks for watching!
@abdallahalomari4761
@abdallahalomari4761 4 жыл бұрын
hey there, it was a great video from a lot I watched you definitely accomplished the intro for the DRF, I have a quick question I hope I'm gonna get a reply, a have a C# MVC 5 Project and I wanna implement it into ML model by python how does DRF help me doing that? any tip would help
@laynesmith3166
@laynesmith3166 6 жыл бұрын
Great video! Noob question, in my use-case I need to post to the API (thanks!) but I also need to take that posted data and email a notification AND add it to a Google sheet. In which .py file can I intercept the post data and fork out those functions?
@prettyprinted
@prettyprinted 6 жыл бұрын
you'd do it in the view file.
@matrixdexter270
@matrixdexter270 6 жыл бұрын
i was following you tutorial , and i have this bug: languageview should either include a 'se'rializer_classatrrribute or override the get _serializer_class' method. am tinking its something to do with the python version
@maxennybee
@maxennybee 5 жыл бұрын
Would be lovely if you could do a view with TDD approach. Most of the materials i see online then to use django 1.11 and the syntax is quite different and the url routing is different from here. Could you do that anytime soon?
@prettyprinted
@prettyprinted 5 жыл бұрын
I have considered doing some TDD approaches on the channel. I'll see what I can do.
@folorunso
@folorunso 5 жыл бұрын
great intro Anthony!!
@prettyprinted
@prettyprinted 5 жыл бұрын
Thanks for watching!
@ahmedbarbouche1658
@ahmedbarbouche1658 5 жыл бұрын
thanks a lot for the video, please can you help me, i want add in api root another link for another model named book, how can i do it
@dmitriys4279
@dmitriys4279 5 жыл бұрын
thank you! awesome
@abirulezz
@abirulezz 3 жыл бұрын
Have you tried JWTTokenUserAuthentication backend experimental feature to implement the microservices architecture in DRF?
@Pigirl
@Pigirl 4 жыл бұрын
can u tell me how to do for image upload ..which pip to install
@SoumilShah
@SoumilShah 4 жыл бұрын
What if i only want a GET request and not a POST in that what are changes that need to be done
@anoasisoftranquillity5773
@anoasisoftranquillity5773 5 жыл бұрын
very helpful, thanks alot
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome!
@sodepr
@sodepr 5 жыл бұрын
Thank for you about this video.
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome!
@jingyuyuan1051
@jingyuyuan1051 5 жыл бұрын
It's so clear for me now, thanks. May I know the name of tool you used for the http command execution?
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome. It's called POSTMan.
@jingyuyuan1051
@jingyuyuan1051 5 жыл бұрын
@@prettyprinted thanks!
Django REST Framework Model Relationships
14:32
Pretty Printed
Рет қаралды 67 М.
How Model Queries Work in Django
27:47
Pretty Printed
Рет қаралды 95 М.
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 30 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 22 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 15 МЛН
Creating a Weather App in Django Using Python Requests [Part 1]
28:30
Pretty Printed
Рет қаралды 196 М.
How to Use Django REST Framework Permissions
11:06
Pretty Printed
Рет қаралды 40 М.
Getting Started With Django All Auth
19:01
Pretty Printed
Рет қаралды 8 М.
Understanding Django Model Relationships
25:56
Pretty Printed
Рет қаралды 94 М.
Django Project - Code a CRM App Tutorial
2:23:40
freeCodeCamp.org
Рет қаралды 409 М.
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 382 М.
Getting Started With Django Celery Beat
13:07
Pretty Printed
Рет қаралды 10 М.
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 30 МЛН