Це відео не доступне.
Перепрошуємо.

Django REST Framework - Build an API from Scratch

Поділитися
Вставка
  • Опубліковано 18 сер 2024
  • Start your software dev career - calcur.tech/de... 💯 FREE Courses (100+ hours) - calcur.tech/al...
    🐍 Python Course - calcur.tech/py...
    Timestamps:
    00:00 - Introduction
    02:05 - Create a virtual environment
    03:38 - Install packages
    04:01 - Create our Django project
    05:36 - Apply migrations
    06:31 - Intro to admin site
    07:31 - Create our model
    08:50 - Create our own migration
    12:37 - Start REST framework
    13:43 - Create our serializer
    14:53 - Create our view endpoints
    18:57 - CRUD
    22:28 - POST request
    27:17 - Drink details - GET
    32:50 - Drink details - PUT
    34:22 - Drink details - DELETE
    36:25 - Getting JSON through browser
    37:59 - Consuming the API
    ✅ Data Structures & Algorithms - calcur.tech/ds...
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/ne...
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/sub...
    👨🏻‍🎓 Courses - www.codebreakt...
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com...
    🅿 Patreon - calcur.tech/pat...
    🅖 GitHub Sponsors - github.com/spo...
    Ⓟ Paypal - paypal.me/calcur
    #python #django
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/cr...
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/cr...
    #python #django #webdevelopment

КОМЕНТАРІ • 203

  • @codebreakthrough
    @codebreakthrough  2 роки тому +15

    (FREE) Early access course notes - calcur.tech/backend-notes
    Links:
    Django Crash Course - ua-cam.com/video/EuBQU_miReM/v-deo.html
    github.com/CalebCurry/django-api

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

      Hello Caleb,what advice do you have 38 year olds who want to start learn coding from scratch,say Java?

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

      Hi Caleb can you make a video on how to filter products using django and ajax?

    • @New_Tech-j2v
      @New_Tech-j2v Рік тому

      @@jangrobler1208 What??

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

      Hello you did a Short video in which 0you declared an end to coding. what message are you trying to pass to us wanting to reach your coding skills

  • @TrendzNoww
    @TrendzNoww 5 місяців тому +5

    I don’t normally comment on UA-cam videos but trust me you are a true Gem and you have made my Research portfolio Journey to be a success already … the backend is really the core of your application thanks so much … would really love to interact ❤❤

  • @keifer7813
    @keifer7813 Рік тому +3

    Just started learning Django and now I'm getting familiar with DRF. I say this with no exaggeration - you are one of, if not, the best instructors on UA-cam. Never leaves a line of code unexplained. Legend

  • @chemsel-hakmahouche8371
    @chemsel-hakmahouche8371 Рік тому +10

    Always wondered what api's were and here i get the confirmation i was expecting. Thank you for making it crystal clear as you always do. You're the best teacher i could ever have.

  • @prasannasundaram9158
    @prasannasundaram9158 2 роки тому +16

    Thanks Caleb. You untangle complex subjects, demystify them and present it in a way that puts your audience at ease and bring them back for more content. Your unassuming and friendly persona adds to the joy of learning. Vamos, my bro!!!

  • @xmeshu
    @xmeshu Рік тому +15

    This is exactly what I needed for my uni project. Straight to the point, through the basics. Amazing introduction after which I can really understand the framework. Big thumbs up Caleb!

  • @MorbidPasta
    @MorbidPasta 2 роки тому +8

    I started my summer quitting my job at a dead-end dev job. Started re-familiarizing myself with c++ for fun using your videos, then helped myself with some DS&A with your videos. And now I'm looping back around to REST APIs which I was previously writing at my old job, with new knowledge... and find that you've got these videos too. You've had my full attention this summer lol

  • @markcruz3
    @markcruz3 5 місяців тому +1

    I started watching this video yesterday and I must say that this is the only video beginners need. I just don't know what others are doing

  • @syphon22
    @syphon22 11 місяців тому +1

    This is by far the BEST video explaining DRF API's on the internet.
    I have been learning Django the last month or so and this video makes everything CLICK!
    Thank you for all your hard work creating this content!!

  • @frontendmechanix
    @frontendmechanix 8 місяців тому

    My new job required extensive use of Django REST and I never used Django throughout my career.
    This is the perfect tutorial. You just created a masterpiece. Phenomenal!

  • @cruegger123
    @cruegger123 Рік тому +1

    Caleb, I just watched this video and it's amazing. I learned more watching this video than I have by googling and reading about Django REST applications for the past week. You are a highly skilled and gifted teacher. In my experience, good knowledge transfer skills are rare. You know how to present information in a clear, step-by-step manner with a friendly, unassuming style. Great job!

  • @janderoyalty1030
    @janderoyalty1030 2 роки тому +2

    I've learned more in the first 30 minutes of this video than all my Googling yesterday. Hope the last 11 minutes are just as good. Thanks for this!

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

    Caleb. from South Africa, I am forever thankful. I started with C++ while in University. I have learned a lot from you.

  • @neelshah1943
    @neelshah1943 8 місяців тому +1

    Awesome work Caleb! You made me fear less about learning Python backend development. Journey to fearlessness with Django, RestAPIs, and databases!

  • @kyawmying224
    @kyawmying224 7 місяців тому +1

    Oh for God Sake,I found the right video with right person to explain me to understand what I am looking.Thank you

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

    All these years I have been running away from this framework haha... I'm glad I found this guy today.

  • @andrewpitta927
    @andrewpitta927 Рік тому +1

    bro bro bro...i really wanna thank you soo much...this helped me a lot..it cleared a lot of confusion .... ihv been going through the documentation but i got struck with some confusion ... this vedio helped me to clear that !!!

  • @amanessa9467
    @amanessa9467 2 місяці тому

    This is what I've been looking for. Thanks a lot Caleb!

  • @patience_paul5277
    @patience_paul5277 Місяць тому

    Best DRF Tutorial so far

  • @MwaiWired
    @MwaiWired 2 роки тому +5

    concise and impressive, direct to point makes easy to understand😊

  • @HeisenbergHK
    @HeisenbergHK 5 місяців тому

    This was amazing, thank you for this tutorial.
    The thing that i loved was that this tutorial thought me the stuff I really needed not “extra useless information”.

  • @AliceInBloom
    @AliceInBloom 2 роки тому +7

    Such a great video. Well done ! Very useful and concise, right to the point !

  • @amarjoshi8583
    @amarjoshi8583 2 роки тому +1

    Finally…I got the thing I wanted…thank you so much…you made my day..thanks

  • @md.rahatbinomar8582
    @md.rahatbinomar8582 7 місяців тому

    This is my first Django_rest_framework project . really I happy to see your teaching approach 💕💕💕💕

  • @jerryb707
    @jerryb707 2 роки тому +1

    Thank you so much for thos course, Caleb! I am coming from a flask and fastAPI background and I needed to learn the django rest framework for a prospective job and this has been an amazing introduction. Aside the fact that I think django comes with too much boilerplate code, I think its worth learning. Your video was very easy to understand and I can't wait to check out your other videos too. you're amazing!!

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

    Probably the most clear and best sequenced and structured approach on the subject I have seen. Thanks!

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

    looking at Caleb's gentle smile from the thumbnail makes my day already better

  • @elenamikhaylova5086
    @elenamikhaylova5086 4 місяці тому

    you are very clear and good at explaining somethign fairly complicated. great video, helped alot. thanks

  • @user-jt5mc2kr4m
    @user-jt5mc2kr4m 2 роки тому +5

    What a great lecture! Thanks a lot again, Caleb!

  • @bigrob1971
    @bigrob1971 2 роки тому +3

    Very well presented, not padded out with crap - well done!

  • @zb2747
    @zb2747 2 роки тому +2

    Great brief overview - straight to the point and simple to understand the basics and concepts

  • @briankimurgor4343
    @briankimurgor4343 6 місяців тому

    Man, you teach so well, big up from Kenya

  • @Aoekin
    @Aoekin 2 роки тому +1

    Awesome just watched your api video using the flask app, so glad you have django because that is what I am working on.

  • @kels-nz9if
    @kels-nz9if Місяць тому

    Thank you so much Caleb, GOD BLESS YOU 🙏

  • @AnyanwuChimebuka
    @AnyanwuChimebuka Рік тому +1

    This is one of the best tutorial on DRF

  • @kishanmishra7383
    @kishanmishra7383 11 місяців тому

    Short, crisp, concise and amazing.

  • @joseraulmachadofernandez9744
    @joseraulmachadofernandez9744 2 роки тому +1

    You really have a gift for teaching. Thank you for this great video.

  • @AnmolWanderer
    @AnmolWanderer Рік тому +1

    Thanks a lot man ! Learned a lot . Just hope I clear this interview !

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

    Super video Caleb!!! I am looking foward to your new videos.

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

    thanks, this video enlightened me about what is REST about.

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

    excellent video, simple, clear and detailed explanations(not confusing), now I have an API and API building knowledge, thanks a ton

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

    Tremendous Experience ,I didn't ever seen awesome django videos , Here is the right place & clear crystal concept for Restful api , Thank you for taking much effort for uploading django tutorial, Still waiting for more useful concept for Upcoming django tutorial,

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

    Very good, clear, easy to understand for beginners like me. Thanks, Caleb.

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

    Best DRF tutorial i have come across 👏🏽

  • @ProfesorCafe
    @ProfesorCafe 2 роки тому +1

    Is like getting CS classes from Michael Cera. Man it feels good to learn this way.

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

    Great lesson Caleb. I can totally see the potential for using django where I work. Thanks again!

  • @sowjanyashetty4643
    @sowjanyashetty4643 Місяць тому

    thank you , this was really helpful.

  • @gabrielazambrano1552
    @gabrielazambrano1552 9 місяців тому

    Thank so much for this video Caleb!!

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

    Keep it coming Caleb!!

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

    comprehensive and well presented..best video by far

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

    Wow! 40 solid gold minutes🙏

  • @durgeshkshirsagar116
    @durgeshkshirsagar116 10 місяців тому

    Thanks man. Great explanation with example.

  • @julianm080808
    @julianm080808 9 місяців тому

    Caled thanks for your awesome video, please keep it up God bless you.

  • @IsmailDX
    @IsmailDX 10 місяців тому

    Thank you Caleb for this Amazing tutorial!

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

    good job man, i needed something shorter than 7 hours, actually max 2 hrs to get started fast with django.

  • @user-rk3pp6ec1u
    @user-rk3pp6ec1u Рік тому

    Caleb, thank you so much for this tutorial!

  • @georgeadrianilie1612
    @georgeadrianilie1612 10 місяців тому

    Hello Caleb !
    I have enjoyed your tutorial and the way you explain things very much and I would like to ask you to make a sequel for creating the explanation of logic with DRF of adding to cart and from cart adding to order and flushing the cart with a limit of one cart for each user at a time.
    Tank you !

  • @shubhangibhosale7765
    @shubhangibhosale7765 7 місяців тому

    Thank you Caleb!!

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

    thank you so much, this is of great benefit for a beginner me. it has helped me understand many things

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

    Thank You So Much Sir🤝.
    Very very useful Content Perfect To understand django & rest framework you coverd all workflow in django

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

    Thanks Caleb, straight to the point.

  • @saibhargavkarna6365
    @saibhargavkarna6365 8 місяців тому

    Wow sir, this is simply superb...

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

    Merci beaucoup ... Vous avez expliqué d'une très bonne manière

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

    Thanks alot for this AWESOME video! I am learning Python and it helped a lot

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

    Thanks celeb, you are adorable, precise and perfect explanation , Thanks again

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

    This was very useful, thanks alot Caleb!

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

    Awesome, great job. Everything well explained

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

    All neccessery konwledge to run your api application. Very informative, thanks !

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

    Love this style of video - thanks!

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

    Well done engineer..Great great tutorial

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

    Awesome tutorial. Subscribed by the way!

  • @georgetriafylos
    @georgetriafylos 10 місяців тому

    helpful tutorial. worth the 40min

  • @suryamachani2417
    @suryamachani2417 5 місяців тому

    Great Course !

  • @codelearnacademy4314
    @codelearnacademy4314 2 роки тому +1

    Hi Caleb, you're an extra ordinary tutor. I have benefited immensely from your videos. But, you might want to magnify your screen a bit to make your code more visible. Thank you

  • @rogerbjj
    @rogerbjj 2 роки тому +1

    .objects.all() is comming up as invalid syntax. My model object does not have an objects attribute.

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

    Thx a lot bruh .
    Love from India

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

    Amazing, your way to teach is great.

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

    Thanks for such an amazing and to-the-point video.

  • @tabmax22
    @tabmax22 2 роки тому +1

    So this is using the built in database sqlite3?

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

    thank you so much that saved me so much time !

  • @amangautam1779
    @amangautam1779 2 роки тому +1

    getting error while testing in postman unable to test GET and POST method!!

  • @abdelkebirachraf9473
    @abdelkebirachraf9473 8 місяців тому

    Such a great video

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

    Thank you very much. I learned a lot with this lesson :)

  • @geraldkaute8284
    @geraldkaute8284 3 місяці тому

    - Hi - I like your tutorial - 22:47 : but just wondering why you used two if statements when best practise it to use
    if
    elif
    else
    As I said - just asking - maybe it's like that in pythin and django.
    Love your video - your style etc...

  • @HOSSEINSTINSON
    @HOSSEINSTINSON 10 місяців тому

    excellent explained

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

    Great tutorial. Thanks for the hard work

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

    This helped a lot...Thank You

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

    This was a very informative video. Thanks man.

  • @devlanderjs
    @devlanderjs Місяць тому

    So useful!

  • @kareemrasheedbabatunde9026
    @kareemrasheedbabatunde9026 3 місяці тому

    I love this video, can I get you train me on how to consume Django rest API fully with mobile apps...let's talk

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

    Great Lessons, thanks for this, but a quick question please.
    What about you building an application with other apps like (Drinks, Foods, Fruits), and you have to create multiple apps for them to manage their models separately.

  • @hiboktalampak1473
    @hiboktalampak1473 2 роки тому +1

    sir, do you have a tutorial on how to properly plan on creating a project application? like i get the planning phase but how is it actually done, let say for example, im gonna create a point of sale system, or an e commerce store system. i dont know where to begin.

  • @fithaashraf8385
    @fithaashraf8385 2 роки тому +1

    Hey, can anybody help me with token based user authentication .Which type of users are authenticated using this method ,like the backend users in admin side or frontend users?

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

    Thanks man, learnt a lot

  • @alananalyst7795
    @alananalyst7795 11 місяців тому

    that is easy to follow good tutorial 👍

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

    I got that same shirt! LOL thanks for the tutorial

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

    It was helpful, thanks for sharing!

  • @abo-khaled1440
    @abo-khaled1440 Рік тому

    Great Like, you are a hero.
    thank you so much.

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

    real i have learned a lot from here

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

    Thanks, this is a great tutorial.