Model inheritance

Packages that help with using inherited models in Django, where the QuerySet can return the inherited models instead of the base classes.

Features currently being evaluated

FeatureDescription
Amount of queries
Admin integration Whether the inherited modes can be managed in an admin screen.
Type of inheritance * STI: Single Table Inheritance
* MTI: Multi Table Inheritance
* CT: ContentTypes
Package django-model-utils django-polymorphic django-typed-models Save The Change django-polymodels Django Utils 2 django-stackstore-model django-polymorphism
Package django-model-utils django-polymorphic django-typed-models Save The Change django-polymodels Django Utils 2 django-stackstore-model django-polymorphism
Description Django model mixins and
utilities.
Improved Django model
inheritance with automatic
downcasting
polymorphic django models
using automatic type-field
downcasting
Your DB Got It the First Time. Polymorphic models
implementation for django.
Django Utils is a collection
of small Django helper
functions and classes which
make common patterns shorter
and easier.
Django Stackstore is a library
that can support model
versioning in a minimal amount
of steps.
Clean and easy polymorphic
models with Django
CategoryAppAppAppOtherAppAppAppOther
# Using This2815111100
Python 3?
Development Status Production/Stable Production/Stable Beta Unknown Production/Stable Mature Production/Stable n/a
Last updated April 14, 2021, 12:21 a.m. Aug. 21, 2020, 6:31 a.m. July 27, 2020, 5:07 p.m. Feb. 16, 2017, 3:58 a.m. March 20, 2021, 2:15 a.m. Feb. 4, 2021, 8:29 p.m. May 28, 2020, 2:49 a.m. Sept. 16, 2016, 3:36 a.m.
Version4.1.13.0.00.10.01.1.01.7.02.11.30.1n/a
RepoGithubGithubGithubGithubGithubGithubGithubGithub
Commits
Stars20321156176108782242
Repo Forks3142293629163n/an/a
Participantscarljm
treyhunner
jezdez
marfyl
romgar
hramezani
auvipy
tony
browniebroke
jarekwg
more...
vdboor
bconstantin
chrisglass
meshy
jleclanche
WhyNotHugo
benkonrath
skirsdeda
gannettchad
jonashaag
more...
craigds
KrzysiekJ
magopian
ppo
sloria
BogdanStaicu
dandavison
sobolevn
karanlyons
bkonkle
simion
charettes
allisson
WoLpH
Alexander3
requires
salexkiddrmmr
Documentation N/A N/A N/A
Amount of queries1 query total (using `select_subclasses`)1 per object type1 query total (queryset contains multiple types)1 query total using `select_related`.
Admin integration
Type of inheritanceMTIMTI + CTSTIMTI + CT
Search WeightPackageDescriptionLast PyPI release:Repo ForksStars
{{ item.weight / max_weight * 100 | number:0 }}%{{ item.title }}Grid: {{ item.description }} {{ item.last_released | date: 'mediumDate' }} N/A {{ item.repo_forks }} N/A {{ item.repo_watchers }} N/A