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 This271311110
Python 3?
Development Status Production/Stable Production/Stable Beta Unknown Production/Stable Mature n/a
Last updated June 21, 2019, 11:31 a.m. Sept. 19, 2018, 7:42 a.m. May 20, 2019, 5:17 a.m. Feb. 16, 2017, 3:58 a.m. April 12, 2019, 2:52 a.m. April 1, 2019, 8:23 p.m. Sept. 16, 2016, 3:36 a.m.
Version3.2.02.0.30.9.01.1.01.52.5.4n/a
RepoGithubGithubGithubGithubGithubGithubGithub
Commits
Stars164983114910664132
Repo Forks2621862829113n/a
Participantscarljm
treyhunner
marfyl
romgar
jezdez
tony
browniebroke
jarekwg
auvipy
dmeehan
more...
vdboor
bconstantin
chrisglass
meshy
jleclanche
WhyNotHugo
benkonrath
skirsdeda
gannettchad
jonashaag
more...
craigds
KrzysiekJ
magopian
ppo
sloria
dandavison
sobolevn
karanlyons
bkonkle
simion
charettes
allisson
WoLpH
Alexander3
requires
adaptivdesign
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