Packages that help with using inherited models in Django, where the QuerySet can return the inherited models instead of the base classes.
Package | django-model-utils | django-typed-models | django-polymodels | Django Utils 2 | django-polymorphic |
---|
Package | django-model-utils | django-typed-models | django-polymodels | Django Utils 2 | django-polymorphic |
---|---|---|---|---|---|
Description |
Django model mixins and utilities. |
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. |
Improved Django model inheritance with automatic downcasting |
Category | App | App | App | App | App |
# Using This |
28
![]() |
1
![]() |
1
![]() |
1
![]() |
15
![]() |
Python 3? | |||||
Development Status | Production/Stable | Beta | Production/Stable | Mature | Production/Stable |
Last updated | June 16, 2023, 9:34 a.m. | March 14, 2023, 7:33 p.m. | April 25, 2023, 11:02 a.m. | Feb. 28, 2023, 11:59 a.m. | Nov. 18, 2021, 8:07 a.m. |
Version | 4.3.1 | 0.13.0 | 1.8.0 | 3.0.0 | 3.1.0 |
Repo | GitHub | GitHub | GitHub | GitHub | GitHub |
Commits | |||||
Stars | 2,513 | 209 | 85 | 31 | 1,495 |
Repo Forks | 361 | 40 | 17 | 3 | 265 |
Participants |
carljm
treyhunner jezdez hramezani marfyl romgar auvipy tony hugovk jarekwg more... |
craigds
KrzysiekJ mcosti magopian mad-anne sloria souliane BogdanStaicu dandavison sobolevn more... |
charettes
allisson filipweidemann |
wolph
Alexander3 requires |
vdboor
bconstantin chrisglass meshy jleclanche WhyNotHugo benkonrath skirsdeda gannettchad jonashaag more... |
Documentation | n/a | n/a | |||
Amount of queries | 1 query total (using `select_subclasses`) | 1 query total (queryset contains multiple types) | 1 query total using `select_related`. | 1 per object type | |
Admin integration | |||||
Type of inheritance | MTI | STI | MTI + CT | MTI + CT |
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<br>* MTI: Multi Table Inheritance<br>* CT: ContentTypes |
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 |