Django REST Framework Full Course For Beginners | Build REST API With Django

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 424

  • @ParwizForogh
    @ParwizForogh  3 года назад +21

    You can support me on Patreon
    www.patreon.com/parwizforogh

    • @PepeTostado
      @PepeTostado 3 года назад +1

      Hello, quick question.
      When you change to generic views, why when I go to /article/ the list of articles is not showing. The only thing that is being shown is /article/
      What can I do to show all articles there?
      Thanks!

    • @Sonu1640
      @Sonu1640 3 года назад

      Hey buddy , i need help here at 1:04:32 . I tried to GET the response but this is how its showing for me
      {
      "title": "",
      "author": "",
      "email": ""
      }
      im basically getting empty fields

  • @adityagoyal9560
    @adityagoyal9560 4 года назад +102

    This the Best API tutorial I watched. Everyone just writes the code and you cant understand a shit out of it

    • @tabedenisdeon7176
      @tabedenisdeon7176 4 года назад

      yeah sure he is so damn good

    • @canorofficial7509
      @canorofficial7509 3 года назад

      very amazing

    • @aliijaz7551
      @aliijaz7551 3 года назад

      Traceback (most recent call last):
      File "", line 1, in
      NameError: name 'ArticleSerializers' is not defined
      struck at this error please help

    • @biswajitsahoo1456
      @biswajitsahoo1456 3 года назад

      @@aliijaz7551 did u migrate it ?

    • @aliijaz7551
      @aliijaz7551 3 года назад

      got it, I didn't import serializer model

  • @pedrofoss2913
    @pedrofoss2913 3 года назад +22

    i like how you start with the more complicated and messy code and finish with how you can compact dozens of lines of code into 3 lines just to show how powerful django really is.

    • @arek6296
      @arek6296 2 года назад

      I like this apporach too, because you go deeper into how things work.

  • @muraddurjoy3418
    @muraddurjoy3418 4 года назад +23

    Honestly speaking, This is the best Django REST API tutorial I found. I was searching and checking, but many of theme uses the previous project and implement on it. But this is the very beginning of REST API, and every line you make me understand obvious.
    Go ahead and best of luck... Satisfied

    • @skanda2186
      @skanda2186 3 года назад

      Thank you very much for your review.

  • @joshuaenyi-christopher7418
    @joshuaenyi-christopher7418 4 года назад +31

    You posted this video just when I needed it so badly. Thanks a lot. You have also taught me to read documentations like this without pain.

    • @sakthieswaran8998
      @sakthieswaran8998 3 года назад

      Bro in the authentication part I'm getting an error as '. authentic() must be overridden'.. Can you please tell me what mistake I've done

  • @sadaqatem
    @sadaqatem 2 года назад

    So proud watching and learning via an afghan instructor. Tashakur watandar

  • @tradewithtony
    @tradewithtony 4 года назад +14

    The Best Tutorial ever, i can go along now with DRF documentation and make the most of it.

    • @aliijaz7551
      @aliijaz7551 3 года назад

      Traceback (most recent call last):
      File "", line 1, in
      NameError: name 'ArticleSerializers' is not defined
      struck at this error please help

  • @janricmalate6793
    @janricmalate6793 4 года назад +6

    This is by far the best Django REST API tutorial I've ever seen. Thank you for your great work sir!

  • @adnank7496
    @adnank7496 2 года назад +1

    This is guy is so great. I mean literally He is Just Awesome. He is Explaining from the bottom level. I can't express my gratitude. Your a savior for everyone just like me.

  • @hughqing2628
    @hughqing2628 3 года назад +6

    Very well done! I love this tutorial because it goes from the surface to the bottom. All codes are clear and understandable instead of being a black-box!

  • @yiyi-zr2to
    @yiyi-zr2to 3 года назад

    Best tutorial !! Super Clear and Understandable not like others who only give a little bit information then ask you to sign up for his class... Especially(Programming with Mxxh). Appreciate the effort!

  • @redonline808
    @redonline808 4 года назад

    This is awesome. If anyone's in doubt, watch this whole thing, start to finish, no distractions.

  • @medoabdin480
    @medoabdin480 4 года назад

    in the beginning, I was trouble a lot and confused from where can I start the DRF and when I started by docs I was disappointed because I confused for many idioms into it now it becomes easier for me to learn via doc. thanks a lot for this simple.

  • @allaboutcs
    @allaboutcs 3 года назад +11

    Awesome tutorial, you have learned all the aspects so easily, I'm just wondering I have wasted a lot of time just on searching a good django rest framework tutorial. Thanks a lot

  • @HariKrishna-qh5zp
    @HariKrishna-qh5zp 4 года назад +7

    The moment he removed admin from admins.py and was confused about what happened for a bit made be believed that he too might still be a beginner however I like to applaud his courage to come out and make an informative video like this. Thanks

    • @MAd3l
      @MAd3l 4 года назад

      Those Freudian slips don't really determine someone's level, I can 100% assure you slips like this happen to everyone.

  • @tharakaratnayake
    @tharakaratnayake 3 года назад

    Thumbs up for referring to the documentation always. Kinda cool that this is the first channel I found using documentation in development.

  • @moin3194
    @moin3194 3 года назад

    Very clean and straight point , thanks from india.
    watch at x1.5 speed , it save time

  • @emanuelalbuquerque9032
    @emanuelalbuquerque9032 2 года назад

    You are the best man, I'm native in english but I understood everything even. Thank you so much

  • @sazib29
    @sazib29 2 года назад

    *Honestly speaking, This is the best Django REST API tutorial*

  • @euguman
    @euguman 3 года назад

    This video helps me to write my diploma project. This is the best tutorial for beginners I ever saw. Thank you!

  • @swapnilharpale7244
    @swapnilharpale7244 4 года назад +15

    Thank you so much for this in depth tutorial on DRF. One of the best on the internet

    • @AryanGNU
      @AryanGNU 4 года назад

      @Paritosh Jadhav kon aahes re tu jhattu ??

  • @thamiresschifinifroelich3353
    @thamiresschifinifroelich3353 4 года назад +5

    You're so calm explaining, i really liked and enjoyed. Gived me some view about certain things i do not understanding before. Tks!

  • @iFFOKMedia
    @iFFOKMedia 4 года назад +5

    I've never seen a great tutorial like this. I feel like re-watching this. Thanks Parwiz.

  • @JustJiril
    @JustJiril 4 года назад +17

    Hello Parwiz, Thank you so much for making this video. This video made me clear about all types of views as well as REST framework. I really appreciate your hard work for making such videos as they are really helpful. Thanks again.

  • @abhilashs6404
    @abhilashs6404 3 года назад

    Wonderful.Simple and easy to understand.Was breaking my head to understand the REST

  • @shahriarhasanfahim8896
    @shahriarhasanfahim8896 3 года назад +1

    28:40 I have never seen any tutorial on Django got to so much depth . Thank you

  • @ELVI3JO
    @ELVI3JO 4 года назад +1

    The best Django REST framework ever ! It is exactly what beginners need!. Thank You so much Parwiz !

  • @reshmaavvaru9581
    @reshmaavvaru9581 3 года назад

    Amazing video for rest framework
    i used this video along with a udemy course which i through edunaut and i think now i totally mastered rest framework

  • @nikhilkulshrestha213
    @nikhilkulshrestha213 4 года назад +1

    Really best lectures from basic to advance level in Rest API. I never seen kind of lectures in very easy way.

  • @sudoers-workspace-here
    @sudoers-workspace-here Год назад

    One of best videos for django, Nailed it. Thank you.

  • @keerthanamurugesan3129
    @keerthanamurugesan3129 2 года назад

    There are so many ways for single thing. Which is owesome

  • @nbits7433
    @nbits7433 3 года назад

    Best tutorial for Django REST out there. Thank you.

  • @piotrekferdynus8088
    @piotrekferdynus8088 4 года назад +1

    I usually don't comment on tutorial that I watch, but you've done really great job and I want you to know that I'm really appreciating this, thank you!

    • @aliijaz7551
      @aliijaz7551 3 года назад

      Traceback (most recent call last):
      File "", line 1, in
      NameError: name 'ArticleSerializers' is not defined
      struck at this error please help

    • @piotrekferdynus8088
      @piotrekferdynus8088 3 года назад +1

      @@aliijaz7551 don't know in which exact moment the error is happening, but the name of the class is ArticleSerializer (without an 's'), so check your views.py file for that.

  • @aryanparekh3508
    @aryanparekh3508 4 года назад

    I am writing this comment for those who are looking into the comments and trying to figure if they should give their 2hrs and 20 mins into this or not....TRUST ME GUYS YOU SHOULD..the explanation is great... especially for those who have no idea how to start with Django Rest Framework...I would highly recommend watching this video

  • @Lunatyk001
    @Lunatyk001 4 года назад +4

    I was really confused at part 7. After watching, I am not sure what is role of GenericAPIView. It should replace our both previous classes: ArticleAPIView AND ArticleDetailsAPIView?
    When you started with this class, you didn't use into url - at this time part, GET and POST methods were working.
    Then you decided to create PUT and DELETE methods, it didn't work because ID wasn't there.After you fixing this (by changing URL), PUT and DELETE methods works. Additionally, we was able to GET object with given (in url) object ID... However method GET without ID (Which should show list of all articles) stopped work (address without cant be accessed).
    I tried to fix this by adding additional, second URL (which will catch requests without ID) - this "works" but the problem is that there are still visible DELETE and PUT methods which makes error if you use them (without ID inside URL).
    FInnally, this part is finished without fixing this problem.

    • @sakshamkapoor5905
      @sakshamkapoor5905 4 года назад

      I agree 100%, did you learn more about this? if yes, can you help me out? Thanks!

    • @apurvsingh5541
      @apurvsingh5541 4 года назад +1

      You got the treasure that everybody didn't see. Fixing the bug will improve your basics.

  • @ayotomiwasalau6373
    @ayotomiwasalau6373 3 года назад

    Wow...awesome man...I went from zero in Django to solid foundational knowledge. Took me 10 hours tho, don't let the length of the video fool you, I had to make sure I codeed alongside and got the required output. Eitherways Nice!

  • @sudeepthpokkuluri1642
    @sudeepthpokkuluri1642 3 года назад

    Best tutorial I’ve seen so far I have downloaded this video and preparing when required in interviews thanks

  • @yarik83men51
    @yarik83men51 3 года назад

    The best material about Django Rest Framework

  • @adnanfarhan5006
    @adnanfarhan5006 3 года назад

    It is just awesome. I was really struggling since few weeks. But after watching it I am damn confident man!!!!!

  • @priyaranjanmantri9332
    @priyaranjanmantri9332 3 года назад

    You are amazing... This tutorial is awesome... Thank you Parwiz Forogh... 👌

  • @canorofficial7509
    @canorofficial7509 3 года назад

    beautiful work bro.. never knew the DRF i dodged for two years could be learnt in two days with practical

  • @patrickknows2296
    @patrickknows2296 3 года назад

    Thanks bro. Btw those who disliked these are just wordpress designers acting like developers

  • @mahmoudrezaizadiyar9425
    @mahmoudrezaizadiyar9425 4 года назад

    دمت گرم پرویز جان، واقعا جواب داد. خیلی باحالی. ایشالله چنلت بشه 2 میلیون فالور !!

  • @CHANDANKUMAR-sj1vb
    @CHANDANKUMAR-sj1vb 3 года назад

    Really its a best RESTApi tutorial. Thanks man....

  • @aotegaliyev
    @aotegaliyev 3 года назад

    1:24:31 U have to put try catch into get function and this gives u correct response instead of attribute error, but thank u for ur lesson great job)

  • @malay5928
    @malay5928 4 года назад

    Now i m Django rest documentation away to become master in API's
    Thanks Brother ; }

  • @jonathankibazo9521
    @jonathankibazo9521 4 года назад +1

    This is the Best Django Framework Tutorial ever. Thanks a lot

  • @photoninadoubleslit8405
    @photoninadoubleslit8405 2 года назад +1

    Thank you so much for such an amazing course! The way you explained it all even in POSTMAN is really great! Thank you again!

  • @jan2151
    @jan2151 4 года назад +10

    This is the greatest tutorial ever! Thank you so much 😊

  • @gowthamsenthamilselvan6053
    @gowthamsenthamilselvan6053 2 года назад

    Thanks, much Parviz! Clear explanation and the best videos I have ever seen.

  • @shaikikbhalBasha
    @shaikikbhalBasha 4 года назад

    I recently started django , i was stuck at rest api, this video was quite useful. Thanks for sharing your knowledge

  • @kiplimocollins
    @kiplimocollins 4 года назад +13

    The best tutorial ever!! Thank you so much, you explain complex concepts in such an easy way to follow.

  • @dovakiin0
    @dovakiin0 4 года назад

    you the best ever man !!! this is simply the bestt video i've ever seen about rest framework. Everything perfectly understood

  • @PatteeGreen
    @PatteeGreen 2 года назад

    Thank you for the tutorial. I appreciate your help!! It made clear some of the details I was missing.

  • @vaibhavtripathi7024
    @vaibhavtripathi7024 3 года назад

    awesome video learn the django framework
    API concept from the scratch ........

  • @prathmeshborse5221
    @prathmeshborse5221 Год назад

    Great course to clear the basics of DRF

  • @mohammedshuhaib7678
    @mohammedshuhaib7678 Год назад

    This is the ultimate tutorial for beginners ❤❤

  • @shivamdubey1268
    @shivamdubey1268 4 года назад

    Thank You man , In such a easy way you have covered pretty decent knowledge of Rest Framework, I have struggled over 2 month for the content like this (Y).

  • @ambikathippareddy8989
    @ambikathippareddy8989 3 года назад

    Best video we could get for beginner. Thanks a lot..!

  • @mallikarjuna7624
    @mallikarjuna7624 3 года назад

    Sir you are explained in a very easy ..thanks a lot.

  • @latheshnt3594
    @latheshnt3594 4 года назад

    You are awesome bro. I learnt Django Rest API Framework in a very easy manner. This is bcz of your tutorial. Keep it up bro.

  • @ganeshkumarnatarajan1375
    @ganeshkumarnatarajan1375 4 года назад

    Thanks for this tutorial. Good foundation starting from simple API Function view to class View to generic class view to view Set to Generic View set , and finally to Model View Set.

  • @Codaconda
    @Codaconda 4 года назад

    Hey, Parwiz. I want to say you "GREAT THANKS". Your courses are really helpful! You talk about all cases which i need to know!

  • @anlpoyrazoglu4746
    @anlpoyrazoglu4746 3 года назад

    I really appreciate that you had posted a video like this. It's really useful.

  • @indraxios
    @indraxios 2 года назад +1

    If your django fundamentals are clear than its the best strat for django rest framework

  • @umerehsan6677
    @umerehsan6677 2 года назад

    Very Good Tutorial for the rest-framework.
    I reqlly enjoyed the tutorial
    Good Job

  • @sathishkumar2852
    @sathishkumar2852 3 года назад

    man u deserve more than 1 like

  • @bharathraj3333
    @bharathraj3333 4 года назад

    Ever best Turorial...the way you explained tremendous thank you..

  • @mansiarora3069
    @mansiarora3069 4 года назад

    Able to understand properly after this video! Thanks

  • @venkatesha2734
    @venkatesha2734 3 года назад

    Hi Parwiz,
    I have gone through the video, it's simply amazing. Your teaching skills are more attractive. If you can build a ECommerce project using django restframework, it would be learn more for us. If you already worked on it, suggest me with that video. Thank you. Keep post more videos.

  • @AryanGNU
    @AryanGNU 4 года назад

    Best Tutorial about Django REST API on RUclips, I watched this thrice in last week & it really helped me, Thanks a lot bro
    #LoveFromIndia

    • @shivamdatta4759
      @shivamdatta4759 4 года назад

      Bhai maine Django course Code with Harry se kiya hai ab rest framework k liye kya kru samaj nhi aa rha maine video abhi tak nhi dekha pr batado ye complete hai? Aur kaisa hai?

  • @AkashLondhe
    @AkashLondhe 3 года назад +1

    such a nice course. this is very useful for me. Thank You sir, you are explain everything in this session.

  • @danielmaina4048
    @danielmaina4048 3 года назад

    What a tutorial.Very descriptive.Thank you very much for the tutorial.Have learnt a lot

  • @jkinder8
    @jkinder8 4 года назад +2

    Excellent video. The sequence of topics was good and you are a very good instructor... Thanks and you have a new subscriber!

  • @dac5961
    @dac5961 3 года назад +1

    Thank you so much Parwiz for this tutorial. I learned a lot from this tutorial. This tutorial has made me subscribe to your channel.

  • @sivakarthiksiva4739
    @sivakarthiksiva4739 3 года назад

    you are my gold....love u man.....

  • @Nakutnyi
    @Nakutnyi 3 года назад

    I like how the explanations are simple and clear. Great work.

  • @damaroro
    @damaroro 2 года назад

    very awesome video , I learn a LOT from your tutorial , thanx

  • @RagdollBen
    @RagdollBen 3 года назад

    Thanks a lot for this video. I think this is the best video on Django rest API !

  • @Brocollipy
    @Brocollipy 3 года назад +1

    Excellent video really helpful. I'm using the REST framework for a couple of locations to trigger functions so the functions views was really helpful. Most videos go straight to model serializers with rest_framework class based views and it's hard to pick out the work flow for just a basic function + JSON response.

  • @manaskumarsahoo7843
    @manaskumarsahoo7843 3 года назад +1

    Thank you so much for elaborating in a simple way drf

  • @cibatembhare6620
    @cibatembhare6620 4 года назад

    Thank you so much .I cleared my all api-related issues with the help of this tutorial .
    Again Thank you.

  • @snehlatabharmoria2664
    @snehlatabharmoria2664 4 года назад +1

    thanks for sharing this nicely explained rest api concept.. i have gone through so many videos but never able to get the concept. Thanks a lot.

  • @nedimkulovac6394
    @nedimkulovac6394 3 года назад

    Finally content I was looking for! Thanks a lot!

  • @serenity-symphony
    @serenity-symphony 4 года назад

    You are my best tutor Parwiz

  • @charleslennox6042
    @charleslennox6042 4 года назад

    Awesome tutorial. I got better understanding after watching this.

  • @akashbhalotia317
    @akashbhalotia317 3 года назад +1

    This is such an amazing tutorial. Easy even for a complete beginner to follow.

  • @PourdadDaneshmand
    @PourdadDaneshmand 3 года назад

    Thanks for your course, For start and familiar with DRF it's very nice course.

  • @AkashLondhe
    @AkashLondhe 3 года назад +1

    Sir Please upload this course on udemy because this is very good explained every concept. Every beginners developer need this info.

  • @architadesai7876
    @architadesai7876 4 года назад +2

    Thank you so much!
    Very helpful tutorial and very well explained along with the documentation to make it smooth for us to go through the documentation ourselves.

  • @prateeksharma3630
    @prateeksharma3630 4 года назад

    the best explanation for the django rest framework

  • @Adarsh8750
    @Adarsh8750 4 года назад

    👏🏻👏🏻 I tried taking course on udemy ,I couldn't get the concept
    You're video helped me do

  • @bharathraj3333
    @bharathraj3333 4 года назад

    Ever best api tutorial on django good job bro...keep posting

  • @skanda2186
    @skanda2186 3 года назад +1

    For those whos shell may close :
    from api_basic.models import Article
    from api_basic.serializers import ArticleSerializer
    from rest_framework.renderers import JSONRenderer
    from rest_framework.parsers import JSONParser

  • @carlosdelamorenacoco8715
    @carlosdelamorenacoco8715 3 года назад

    thank you bro, this really saved my ass at work. I subscribe

  • @hachibkhan8678
    @hachibkhan8678 3 года назад

    Thank you so much for your best effort. Love you man.

  • @oyatilloismoilov5540
    @oyatilloismoilov5540 3 года назад

    Hey bro thank u for this amazing video, I got lots of useful information from your video, thank you very much

  • @jibachhyadav7241
    @jibachhyadav7241 4 года назад +1

    Just Wow.. Such a nice well managed tutorial

  • @agirmani
    @agirmani 4 года назад +3

    Hey, I just wanted to quickly point out for 1:18:00 the get_object() method you created is returning the HTTP response to the function and is not returned as a response to the client when the DoesNotExist error is raised. Can be easily fixed by an if statement and a None return from the get_object() method if no object is found.
    Great video helped me a lot!

    • @raik303
      @raik303 4 года назад +1

      Please give me the line of code you handled in if statement, i was trying the same, i could not handle the response in ClassBased Api views 1:18:00 , It still get AttributeError.

  • @jhoanmartinezsilva2609
    @jhoanmartinezsilva2609 3 года назад

    A tutorial in django REst franework with all type of relationships, one to one, one to many and many to many will be awesome, thanks again