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-polymorphism
Package django-model-utils django-polymorphic django-typed-models Save The Change django-polymodels Django Utils 2 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.
Clean and easy polymorphic
models with Django
CategoryAppAppAppOtherAppAppOther
# Using This271211110
Python 3?
Development Status Production/Stable Production/Stable Beta Unknown Production/Stable Unknown n/a
Last updated Jan. 11, 2019, 1:13 p.m. Sept. 19, 2018, 7:42 a.m. Jan. 6, 2019, 3:15 p.m. Feb. 16, 2017, 3:58 a.m. May 30, 2018, 11:31 p.m. April 5, 2018, 1:56 p.m. Sept. 16, 2016, 3:36 a.m.
Version3.1.22.0.30.9.01.1.01.4.62.5.0n/a
RepoGithubGithubGithubGithubGithubGithubGithub
Commits
Stars155277613610261122
Repo Forks2441772226113n/a
Participantscarljm
treyhunner
romgar
jezdez
tony
browniebroke
jarekwg
dmeehan
RDIL
dmytrokyrychuk
more...
vdboor
bconstantin
chrisglass
meshy
jleclanche
WhyNotHugo
benkonrath
skirsdeda
gannettchad
jonashaag
more...
craigds
KrzysiekJ
magopian
ppo
sloria
sobolevn
karanlyons
bkonkle
simion
charettes
allisson
WoLpH
Alexander3
requires
adaptivdesign
Documentation N/A 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