Getting Started With Django REST Framework

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 280

  • @prettyprinted
    @prettyprinted  4 роки тому +5

    Join my free course on building a Todo API with Django REST Framework: prettyprinted.com/djangotodoapi

    • @garrettfernando7415
      @garrettfernando7415 3 роки тому

      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 3 роки тому

      @Garrett Fernando Instablaster =)

    • @garrettfernando7415
      @garrettfernando7415 3 роки тому

      @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 3 роки тому

      @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 3 роки тому

      @Garrett Fernando Glad I could help =)

  • @HSharpknifeedge
    @HSharpknifeedge 5 років тому +43

    This is so far, the most detailed tutorial on UA-cam. I've watched all other Django API tutorials and they deal with the GET, POST manually instead of using the router.

  • @SATHISHKUMAR-dg6og
    @SATHISHKUMAR-dg6og 5 років тому +13

    I LITERALLY WASTED ONE DAY IN SEEING OTHER UA-cam AND UDEMY VIDEOS FOR REST FRAMEWORK...!!
    YOU ARE THE BEST IN TEACHING REST FRAMEWORK,. THANK YOU SO MUCH

  • @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 років тому +1

    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.

  • @Shubh22
    @Shubh22 5 років тому +3

    Concise and yet elaborate. This is the YT best video tutorial on Django rest framework.

  • @svendavison
    @svendavison 5 років тому +1

    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!

  • @yairabad5697
    @yairabad5697 4 роки тому +2

    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!

  • @ankitasinha7892
    @ankitasinha7892 4 роки тому

    This is so much better than all other youtube django videos I watched so far. Thank You

  • @snshusat161
    @snshusat161 6 років тому +1

    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  6 років тому

      You're welcome! I'm glad the video helped.

  • @kaushit
    @kaushit 5 років тому +2

    simplest tutorial on UA-cam 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.

  • @vishalverma5280
    @vishalverma5280 3 роки тому

    most sober and clean explanation till date !

  • @delphinemico4283
    @delphinemico4283 5 років тому +1

    This is one of the best tutorials I have ever seen on UA-cam. Simple, informative and straight to the point. Thank you for this great work. I will be checking out your website as well.

  • @nasrinasayesh5073
    @nasrinasayesh5073 3 роки тому +1

    i love this course . it is the best .
    you teach very easily .please continue ❤❤❤

  • @sukurcf
    @sukurcf 5 років тому +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.

  • @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

  • @vinodsagar2412
    @vinodsagar2412 5 років тому +3

    One of the best explanations for REST FRAMEWORK....thanks a lot

  • @brunosantos3672
    @brunosantos3672 5 років тому +4

    Excellent job.
    I followed the instructions and everything worked correctly.
    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.

  • @mazhar0001
    @mazhar0001 2 роки тому

    all the comments appreciating this video still hold true..!!
    Thank you!

  • @asdfghjkl36958
    @asdfghjkl36958 3 роки тому +1

    Thanks for the great tutorial, definitely the best one on UA-cam!

  • @bonioctavianus308
    @bonioctavianus308 4 роки тому

    as mobile app dev, this tutorial is really helpful, clear and simple, thanks!

  • @7509whynotresist
    @7509whynotresist 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.

  • @rottgren9491
    @rottgren9491 6 років тому +2

    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

  • @RandomShowerThoughts
    @RandomShowerThoughts 5 років тому +1

    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.

  • @bilardish
    @bilardish 5 років тому +3

    The best explanation about DRF. God bless you

  • @dawitnigusu4718
    @dawitnigusu4718 5 років тому +2

    I rarely give comments , this one really worth it

    • @prettyprinted
      @prettyprinted  5 років тому

      Thank you so much. I'm glad you liked the video.

  • @algoriticus
    @algoriticus 6 років тому +1

    Great Video, compressed hours of knowledge into minutes. Best intro to this concept thus far!

  • @piyushupadhyay4633
    @piyushupadhyay4633 3 роки тому

    Wow! This was the best tutorial I have come across!!!! Thanks a lot.... I was having a hardtime understanding viewsets lol

  • @prashantmehra5247
    @prashantmehra5247 3 роки тому +1

    Thanks bro For teaching this to us

  • @rounakghosh7177
    @rounakghosh7177 4 роки тому +1

    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.

  • @apsrajput2805
    @apsrajput2805 6 років тому +1

    Awesome video and explanation as well! very much informative and easy to understand..

  • @roberttorres2861
    @roberttorres2861 4 роки тому +1

    This was a such a clear and easy to follow tutorial. Thank you for making this!

  • @shivanibisht2128
    @shivanibisht2128 5 років тому

    Was looking for something like this only. It was neat and to the point

    • @prettyprinted
      @prettyprinted  5 років тому +1

      Glad you like it! Thanks for watching.

  • @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!

  • @indianmongoose
    @indianmongoose 3 роки тому

    Awesome explanation, Sir, Thanks a lot !

  • @nataliiasorokina4485
    @nataliiasorokina4485 4 роки тому +1

    Thanks! That was easy and very useful.

  • @ariashahverdi44
    @ariashahverdi44 5 років тому

    Best tutorial on Rest framework of Django

  • @otromas-mb4sv
    @otromas-mb4sv 5 років тому +1

    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.

  • @senpos
    @senpos 6 років тому +7

    DRF is great, thanks for tutorials.

    • @prettyprinted
      @prettyprinted  6 років тому

      You're welcome! Thanks for watching.

  • @stephenchineduossai7800
    @stephenchineduossai7800 2 роки тому

    I really appreciate your lecture. Many thanks

  • @jackyphull
    @jackyphull 2 роки тому

    It's Awesome, very nicely explained.😃👍

  • @AmirMotahari
    @AmirMotahari 4 роки тому

    Thanks man
    I saw Todo API with Django REST Framework
    That's so amazing

  • @raisakulakovska3471
    @raisakulakovska3471 4 роки тому

    Thank you. Short and clear.

  • @wilmertorres2940
    @wilmertorres2940 6 років тому +16

    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 років тому +5

      I put out a video on just that topic. thanks for watching.

  • @Khozanai
    @Khozanai 4 роки тому +1

    This is a really good tutorial, thank you!

  • @nikhilmahajan4129
    @nikhilmahajan4129 4 роки тому

    Thnqq for this video...looking forward to learn more

  • @liwil9179
    @liwil9179 6 років тому +1

    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.

  • @michaelkennedy5126
    @michaelkennedy5126 5 років тому

    Thanks for explaining serializers and the view sets!

  • @geoafrikana
    @geoafrikana 2 роки тому

    Thank you for the useful explanation.

  • @abirulezz
    @abirulezz 4 роки тому

    Have you tried JWTTokenUserAuthentication backend experimental feature to implement the microservices architecture in DRF?

  • @satisharvapalli3457
    @satisharvapalli3457 6 років тому

    You deserve everything. very good explanation Anthony.

  • @atharhussain22
    @atharhussain22 4 роки тому

    Best content available for django!

  • @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.

  • @amirshehzad3352
    @amirshehzad3352 5 років тому +4

    Finally found the lecture I was looking for. Thanks A lot.
    Can you please points some good resources for further in Django REST Framework?

  • @amalk
    @amalk 3 роки тому

    I have a question regarding django rest framework. How can we protect a DRF public api endpoint?
    For example, i have some api endpoints where authentication is not required and also i have separate javascript application which is hosted on a different platform. So i want to access the api endpoint only from the javascript application.
    Is there any simple way to secure the api endpoints.

  • @ayananthta6329
    @ayananthta6329 Рік тому

    Best One to start. Thank you

  • @akshhay
    @akshhay 5 років тому +1

    Thanks a lot, your videos help me so much💯❤️

  • @kumarsen88
    @kumarsen88 6 років тому

    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  6 років тому +1

      Definitely want to make Djongo videos in the future. Thanks for watching!

  • @laynesmith3166
    @laynesmith3166 6 років тому +1

    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?

  • @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.

  • @nirav9033
    @nirav9033 6 років тому

    Really nice video, very intuitive, Thanks a lot!

    • @prettyprinted
      @prettyprinted  6 років тому

      You're welcome! Thanks for watching.

  • @kemalcihanbastak8476
    @kemalcihanbastak8476 3 роки тому

    What is that command prompt you are using.
    It seemed very customized to me

  • @lndr_ssantos
    @lndr_ssantos 4 роки тому

    Great tutorial! Thanks!

  • @schnuffel661
    @schnuffel661 6 років тому

    Great video, simple and easy. You've helped me a lot, thanks :)

  • @crystal14w
    @crystal14w 4 роки тому

    Wonderful video! Thank you so much :D

  • @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

  • @SV-mo9vz
    @SV-mo9vz 5 років тому

    thanks for great video. Regards from Germany

  • @zerr0n7eet
    @zerr0n7eet 4 роки тому

    Loved your explanation. Could you please suggest an way to build API with Django Framework using Excel sheet(with multiple sheets) as database?

  • @deepanshuaggarwal7042
    @deepanshuaggarwal7042 3 роки тому

    Can we create an api using django-rest framework that will connect to the database (given by url parameter )and query
    the given table ???

  • @jonatasreis6046
    @jonatasreis6046 6 років тому

    Excellent video! It has helped me a lot.

  • @shaziahussain3029
    @shaziahussain3029 6 років тому

    That was easy and superfast. Thanks.

  • @domingoalvarez3984
    @domingoalvarez3984 3 роки тому

    This was a great video thanks.

  • @takundamutombodzi3877
    @takundamutombodzi3877 4 роки тому

    Excellent tutorial 👏

  • @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

  • @Ketlhaz
    @Ketlhaz 6 років тому

    That was a good tutorial, thanks for help me and greetings from Colombia

    • @prettyprinted
      @prettyprinted  6 років тому

      You're welcome! Thanks for watching.

  • @alicandonmez6748
    @alicandonmez6748 5 років тому

    Great Introduction, I use it for reference. thanks

    • @prettyprinted
      @prettyprinted  5 років тому

      Glad I could help. Thanks for watching!

  • @maxennybee
    @maxennybee 5 років тому +1

    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.

  • @StefanLeiva
    @StefanLeiva 5 років тому

    Hi, i followed every step but now when i look at the "Api Root"-page it only says "Allow: GET, HEAD, OPTIONS". How do i add POST?
    Also how can Postman POST to the server even though it is not allowed?? :O
    Thanks for the video and the instructions!!

  • @vijendrakhemnar
    @vijendrakhemnar 5 років тому

    Very good explanation. Keep it up, god bless you !!!

    • @prettyprinted
      @prettyprinted  5 років тому +1

      Glad you like the video. Thanks for watching!

  • @anthonykugel5613
    @anthonykugel5613 4 роки тому

    Really solid video.

  • @krishnpalsinghchouhankp
    @krishnpalsinghchouhankp 5 років тому

    Nice video quick and informational

    • @prettyprinted
      @prettyprinted  5 років тому

      Glad you think that. Thanks for watching!

  • @diegoebustamante
    @diegoebustamante 6 років тому +1

    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

  • @ChannatTem
    @ChannatTem 5 років тому

    Great video. I really like it. Thank you very much

    • @prettyprinted
      @prettyprinted  5 років тому

      You're welcome. Thanks for watching.

  • @iancarr3923
    @iancarr3923 6 років тому

    Excellent intro - many thanks

    • @prettyprinted
      @prettyprinted  6 років тому

      You're welcome! Thanks for watching.

  • @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.

  • @georgesmith3022
    @georgesmith3022 6 років тому

    well explained. if i want to return a radom record, instead of a list, any idea of what method to override?

    • @prettyprinted
      @prettyprinted  6 років тому

      At the simplest, you can create a view that will return your random record. www.django-rest-framework.org/api-guide/views/

  • @minsukwon3833
    @minsukwon3833 4 роки тому

    Loved it! Thanks

  • @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

  • @idontknow8011
    @idontknow8011 5 років тому

    Thanks for your tutorial helped to understand REST for django, but how i can use it to run django project for mobile apps?

    • @prettyprinted
      @prettyprinted  5 років тому +1

      You can use the Django app as your API backend. Look into iOS or Android development tutorials and focus on the part where they call APIs from within the apps.

  • @mijaelviricocheaparra2179
    @mijaelviricocheaparra2179 6 років тому

    Awesome, i was lost, but not any more thanks to you.

  • @folorunso
    @folorunso 5 років тому

    great intro Anthony!!

  • @SkillGamingNL
    @SkillGamingNL 5 років тому

    Very good video!

  • @PivotGuy888
    @PivotGuy888 4 роки тому

    Well explained.

  • @vishwa4908
    @vishwa4908 5 років тому

    clean and neat explanation thank you..

  • @jingyuyuan1051
    @jingyuyuan1051 5 років тому +1

    It's so clear for me now, thanks. May I know the name of tool you used for the http command execution?

  • @babukoshy
    @babukoshy 6 років тому +1

    Hi Anthony, thank you for this excellent tutorial. Could you please share the code for each of the files. I followed your tutorial using python3 and django 2.0.3 version and I am getting errors . No module named 'languages.serializer' :(

    • @babukoshy
      @babukoshy 6 років тому

      Don't worry , I fixed it. My import statement had errors. thanks. Great work.

  • @Padeir0
    @Padeir0 4 роки тому

    Exquisite tutorial! Whats the name of the tool used on 21:00? Edit: Postman, guess i'm a bit deaf

  • @Pigirl
    @Pigirl 4 роки тому

    can u tell me how to do for image upload ..which pip to install

  • @marcobaldanza2332
    @marcobaldanza2332 6 років тому

    good job, nice explanation.