Django Model Inheritance - InheritanceManager from django-model-utils

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

КОМЕНТАРІ • 9

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

    These Django Model tutorials are amazing!
    Thank you so much BugBytes!
    I hope you'll create more tutorials about designing Django database Models and querying them as this is 100% awesomeness. 🙏😀

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

      Thank you! I'm glad they're useful, as I know these are more "theoretical" than some other videos.
      Definitely, I will be doing a lot more on Models and Django ORM in the future. Both individual videos/topics, as well as within the context of larger projects.
      Thanks again Sil!

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

      Dude, your Django content is amazing

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

      @@MagnusAnand Thanks very much Guz Man! More coming soon.

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

    thx, learned a new module today

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

    Thank you! Is this the approach for creating subcategories for category parent model? Like for an ecommerce project, or do you maybe have a video on that?

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

    Man you're just amazing.
    So many great videos!
    On the topic, do you have an opinion about django-polymorphic?
    It's another library I was looking at but haven't tried yet.

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

      Thanks a lot Andreas!
      I think the functionality offered by django-polymorphic is quite similar to this. I typically use django-model-utils for a few different things, so I usually go with the InheritanceManager - and therefore I haven't used django-polymorphic much!
      I may do a small video on this at some point, though, with some comparisons.

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

    Did I see in the very last part you got the last ok of subclassed MCQuestion of 4 but when you called get_subclass using 4 it returned a Boolean question?
    Is this a bug in the InheritanceManager?