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

Feature Description
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

Filter results

Package django-model-utils django-polymorphic django-typed-models django-polymodels Django Utils 2 django-stackstore-model django-polymorphism Save The Change
Package django-model-utils django-polymorphic django-typed-models django-polymodels Django Utils 2 django-stackstore-model django-polymorphism Save The Change
Description Django model mixins and
utilities.
Improved Django model
inheritance with automatic
downcasting
polymorphic django models
using automatic type-field
downcasting
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
Your DB Got It the First Time.
Category App App App App App App Other Other
# Using This 28 15 1 1 1 0 0 1
Python 3?
Development Status Production/Stable Production/Stable Beta Production/Stable Mature Production/Stable n/a Unknown
Last updated April 30, 2021, 12:40 p.m. Aug. 21, 2020, 6:31 a.m. Sept. 13, 2021, 5:01 p.m. March 20, 2021, 2:15 a.m. Nov. 14, 2021, 9:52 p.m. May 28, 2020, 2:49 a.m. Sept. 16, 2016, 3:36 a.m. Feb. 16, 2017, 3:58 a.m.
Version 4.1.1 3.0.0 0.11.1 1.7.0 2.12.1 0.1 n/a 1.1.0
Repo GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
Commits
Stars 2116 1240 182 82 24 4 2 110
Repo Forks 323 235 38 16 3 n/a n/a 27
Participants carljm
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
thejcannon
sobolevn
olivierdalang
charettes
allisson
WoLpH
Alexander3
requires
salexkidd rmmr karanlyons
bkonkle
simion
Documentation N/A N/A N/A
Amount of queries 1 query total (using `select_subclasses`) 1 per object type 1 query total (queryset contains multiple types) 1 query total using `select_related`.
Admin integration
Type of inheritance MTI MTI + CT STI MTI + CT
Search Weight Package Description Last PyPI release: Repo Forks Stars
{{ 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