If you ever added a type
, kind
or a mode
field to a Django model, you probably had to deal with polymorphism at some level. With the great people over at RealPython, I wrote about 5 ways to model polymorphism in Django.
Read "Modeling Polymorphism in Django With Python" on RealPython ≫