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

Django ManyToManyFields and Through-Models for many-to-many relationships

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

КОМЕНТАРІ • 50

  • @bugbytes3923
    @bugbytes3923  4 місяці тому +2

    Playlist link: ua-cam.com/video/EsBqIZmR2Uc/v-deo.html

  • @sheryarbaloch67
    @sheryarbaloch67 14 днів тому +1

    Subscribed right after finishing the video.

    • @bugbytes3923
      @bugbytes3923  14 днів тому +1

      Thanks a lot, great to hear that!

  • @treborsol
    @treborsol Рік тому +5

    Thank you. This was the best overview of the manytomany relation options in Django I have seen so far. Perhaps in a next version you can elaborate on the 'related_name' option and how to use that?

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

      Thanks a lot! I'll try and elaborate on related name in future, too.

  • @seydinaoumarsamabaly1806
    @seydinaoumarsamabaly1806 Рік тому +4

    Just aww, I really can say that I've well understood the M2M concept with this one 🙌🏾. Thank you mate !

  • @alfredoa334
    @alfredoa334 9 місяців тому +2

    Impressive!!! By far, the best video of the ManyToMany relations in Django!!! Thank you very much.

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

      Thanks a lot, I’m delighted to hear that! Thanks for watching!

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

      Thank you for posting. I am glad I found your channel. Great content!!! You have one more subscriber. I hope you channel keeps growing. Best regards.@@bugbytes3923

  • @LoumiGueye
    @LoumiGueye 3 місяці тому +1

    Bruh you saved me so much time in my buiding project. Keep the good work! Awesome

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

      Glad to hear it dude! Good luck with your project and thanks!

  • @Pedro_Nora
    @Pedro_Nora 9 місяців тому +1

    Thank you, guy! This is a video that I will watch many times. It has a lot of good information and clear explanations!

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

      Thanks a lot Pedro! Glad it is useful, and thank you for watching!

  • @krugergaming-yt8121
    @krugergaming-yt8121 2 місяці тому

    Man thank you, this video clarified my doubt in M2M in django

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

      Great to hear, thanks for sharing!

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

    Excellent explanation ! came here to understand M2M queries and achieved that plus so much more ! Off to put into practice now ...

  • @user-xu7jz4li7e
    @user-xu7jz4li7e Рік тому +2

    Saving this for the weekend. Thank you!

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

      Thank you!

    • @user-xu7jz4li7e
      @user-xu7jz4li7e 4 місяці тому

      @@bugbytes3923 Can you please do a follow-up video and expand on how the ManyToManyFields and the extra fields in the Through-Models can be implemented in Forms and Views? Thank you and have a great weekend!

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

    As usual great content. One thing is in the admin panel if you are using inlines, that the model require the related_name..through as the end as in "model = Restaurant.staff.through" if you want to list all staff members under each restaurant in a stacked or tabular inline. This will also display the through table fields. Pretty nifty.

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

      Thank you, and nice suggestion there - I should have added it!

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

    This is supper man thanx for creating this series and also other series and videos you have provided that's great content man I have benefited and learnt a lot from you keep up the good work, Thnax once again.

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

    Great video! Clearly explained :)

  • @Aerish369
    @Aerish369 4 місяці тому +1

    Thank you so much.

    • @bugbytes3923
      @bugbytes3923  4 місяці тому +1

      You’re welcome! Thanks for watching!

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

    Thanks, man! A great video that helped me a lot

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

    Thank you so much:). That is a very good tutorial:)

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

    Thank you!

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

    thank you bro

  • @user-ll4pv3yd5v
    @user-ll4pv3yd5v 5 місяців тому

    hello, tanks for this course, its so useful for me
    please record a course about deep dive in view
    and please record a course to customizing admin panel template and add some function to admin panel

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

      Thanks, will look into those!

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

    thank

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

    Great content

  • @Septumsempra8818
    @Septumsempra8818 Рік тому +2

    In your next HTMX x Alpine.js video could you cover passing data between htmx and Alpine components. Eg. How do I change an HTMX request based on x-data state?
    I saw the "htmx.process()" method, but It's not so clear.
    Keep up the great work
    🇿🇦

    • @bugbytes3923
      @bugbytes3923  Рік тому +2

      Great suggestion, I'll add that to the list, thank you!

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

    Hey, great video.
    Just one question, at 17:40, can't we just add another `staffs = ManyToManyField(Staff)` in Restaurant model as well?

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

    What is the link to the previous video?

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

      It’s on this playlist here: ua-cam.com/play/PL-2EBeDYMIbQXKsyNweppuFptuogJe2L-.html

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

    hi in this case we have 2 table and a many to many relationship , what if have 3 table and and a many to many relationship , how can i write many to many field and where ?

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

    Sir i want autocomplete with out foreignkey in list need to display db columns like id, description, shortname, alias and etc i want to get any one according requirement like some time i wl get description or shortname or id

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

    Superb and awesome but i want your email bcz i hv lot of doubts in autocomplete