Generic Foreign Keys in Django / GenericForeignKey / GenericRelation

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024
  • This video will look at generic foreign keys in Django, which allow you to hook up a model to any other model in your application.
    We'll see how to define and query GenericForeignKey instances, and how to define GenericRelation fields on the reverse side of the relationship.
    ☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
    To support the channel and encourage new videos, please consider buying me a coffee here:
    ko-fi.com/bugb...
    ▶️ Full Playlist:
    • Django ORM Deep Dive
    𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
    📖 Blog: bugbytes.io/po...
    👾 Github: github.com/bug...
    🐦 Twitter: / bugbytesio
    📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
    Generic Inlines in Admin: docs.djangopro...
    Permissions and Authorisation: docs.djangopro...
    #python #django #webdevelopment #database #sql

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

  • @bugbytes3923
    @bugbytes3923  8 месяцев назад +1

    ORM Playlist link: ruclips.net/video/EsBqIZmR2Uc/видео.html

  • @kushagra2255
    @kushagra2255 8 месяцев назад +3

    Great content, please do a video on internals of permission as well. That would be great.

  • @sto3359
    @sto3359 Год назад +4

    Thank you! This really cleared up my knowledge on this subject.

  • @leamon9024
    @leamon9024 4 месяца назад

    Nice! Looking forward to the permission related videos.

  • @peterholzer98
    @peterholzer98 13 дней назад

    Great, please do a video about permissions and the possibilities to implement function-based permissions not only model-based

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

    Great video. Thanks! Already passed half the way from 10K to 20k subscribers... Congratulations!

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

      Thanks a lot, well noticed! Thanks for the support!

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

    Great video as always! For one project I had all those null fields because i want to use comments for movies, tv series and lists etc. This is much much cleaner.

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

    Great continuation. Thanks very much.

  • @wazidmalik6824
    @wazidmalik6824 Год назад +1

    If you wish to improve your Django understanding, subscribe to this channel. Thank you very much.

  • @gowtham0071000
    @gowtham0071000 Год назад +1

    do one on permissions and authorization too

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

    thank you and more django video please

  • @serychristianrenaud
    @serychristianrenaud Год назад +1

    Thanks

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

    Thank you

  • @SSH5000
    @SSH5000 Год назад +1

    well explained. though it is a little bit advanced for me :-)

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

      Thanks! This concept of generic FKs/ContentTypes took a while to grasp for me, so no worries if it seems advanced.

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

    ❤ Thank

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

    Thank you sir

  • @abdelrhmanmamdouh2735
    @abdelrhmanmamdouh2735 7 месяцев назад

    Great Content can you make video for permission system in django thanks :)

  • @Patrick-hb9dbj
    @Patrick-hb9dbj 10 месяцев назад

    How can i create a hyperlinked related field for generic foreign key?

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

    GenericForeignKey or django-polymorphic or InheritanceManager? what do you suggest?

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

    love it.

  • @Developer_python_
    @Developer_python_ 5 месяцев назад

    But you didn"t say anything about on_delete doesn't"t work so we need to use signals to delete the related models

  • @Developer_python_
    @Developer_python_ 9 месяцев назад

    cool

  • @Yarkanlaki
    @Yarkanlaki 8 месяцев назад

    ،😮😮😮😮😮😮😮😮 Thank u

  • @hack727
    @hack727 8 месяцев назад +1

    do one on permissions and authorization too