Build an API With Django REST Framework | Full Tutorial | 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 38

  • @RealityslapsYT
    @RealityslapsYT ปีที่แล้ว +4

    I've been away with Django for almost 3 years, nice refresher thank you brother for putting this up.

  • @kidjr.9520
    @kidjr.9520 8 หลายเดือนก่อน +2

    You have explained this beautifully . Keep up the good work!

    • @the_proton_guy
      @the_proton_guy  8 หลายเดือนก่อน

      Thank you so much 🎉🎉

  • @marcosantonio-pn8kx
    @marcosantonio-pn8kx ปีที่แล้ว +1

    Greate job sir. i learned a lot with this video. thank you very much!!!

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว

      I am glad I could help 🥳🥳🥳

  • @anasisah2384
    @anasisah2384 7 หลายเดือนก่อน +1

    What tut realy like you have explained it beautifully

    • @the_proton_guy
      @the_proton_guy  7 หลายเดือนก่อน

      Glad I could help 🎉🎉

  • @Abd-AlGaferAl-Deek
    @Abd-AlGaferAl-Deek 7 หลายเดือนก่อน

    Hello, we want a full course API rest framework ( backEnd )
    ( a complete project with the addition of pictures, tokens and everything)

  • @Dan_Kore
    @Dan_Kore ปีที่แล้ว +2

    Pls what’s the name of the extension you installed on vs code that was suggesting code

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว +1

      It’s called tabnine

    • @Dan_Kore
      @Dan_Kore ปีที่แล้ว

      @@the_proton_guy thanks 🙏

  • @andrewglory9434
    @andrewglory9434 11 หลายเดือนก่อน +2

    Is it recommended to pass in id in a form-data or as a url parameter like delete-post/id ?

    • @the_proton_guy
      @the_proton_guy  11 หลายเดือนก่อน +2

      The best practice for passing an ID parameter in an API depends on the specific use case and conventions. Here are some general guidelines:
      1. Passing ID in the URL: This is the most common and widely accepted practice, especially for retrieving a specific resource or performing actions on a resource. For example, if you're fetching information about a user with ID 123, the URL might look like: /users/123. It's simple, RESTful, and follows standard conventions.
      2. Passing ID as Form Data: This is generally used when you need to create or update a resource. In such cases, the ID might be part of the request body, and not in the URL. However, this is less common for retrieving data, and it might not align with RESTful principles.
      In summary, if you're performing actions related to a resource or retrieving a specific resource, passing the ID in the URL is a more conventional and RESTful approach. If you're creating or updating a resource, you can include the ID in the request body as form data. Always document your API's conventions and follow industry best practices to ensure consistency and clarity.

    • @andrewglory9434
      @andrewglory9434 11 หลายเดือนก่อน

      @@the_proton_guy okay, thanks

  • @mysyaqila3201
    @mysyaqila3201 ปีที่แล้ว +1

    my code has an error the method is not allowed, why?

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว

      Perhaps you are trying to send a request with a request method that is not allowed. Based on what request methods were specified for that endpoint in your code

  • @harunayakubu3702
    @harunayakubu3702 ปีที่แล้ว +1

    Well done sir. I have a question please. Is it compulsory that frontend frameworks like React, Angular and Vue be used when using DRF?
    Thanks

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว +1

      No, it's not compulsory. Although it depends on what kind of app you are trying to build.

  • @javierandres-dev
    @javierandres-dev 9 หลายเดือนก่อน +1

    Thanks!

  • @mahendranath2504
    @mahendranath2504 10 หลายเดือนก่อน

    Nice thank you so much , like 👍 and subscribed

  • @tundebadmus7702
    @tundebadmus7702 ปีที่แล้ว

    Very helpful 👏

  • @giovanna010203
    @giovanna010203 ปีที่แล้ว

    Very informative! Thank youu

  • @Fun_zz
    @Fun_zz ปีที่แล้ว +1

    well explained 💯💯✌️

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว

      Thank you 🥳

    • @Fun_zz
      @Fun_zz ปีที่แล้ว

      @@the_proton_guy boss do you a community I would love to join

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว

      @Theblueprint212 unfortunately, no. Although I have been thinking about creating one

    • @Fun_zz
      @Fun_zz ปีที่แล้ว +1

      @@the_proton_guy please when you do. Do well to notify me please I would love to join. I like how u teach

    • @the_proton_guy
      @the_proton_guy  ปีที่แล้ว

      @Theblueprint212 thank you! I just created a telegram group for that purpose. You can join using the link below:
      t.me/+sO6ZFOaiaMszYzI0

  • @donaldntsibah530
    @donaldntsibah530 11 หลายเดือนก่อน

    it's so goog

  • @tundebadmus7702
    @tundebadmus7702 ปีที่แล้ว

    Lovely bro