Model inheritance
Packages that help with using inherited models in Django, where the QuerySet can return the inherited models instead of the base classes.
Search & Filter
| Package | django-model-utils | django-polymorphic | django-typed-models | django-polymodels | django-curation | Django Utils 2 |
|---|---|---|---|---|---|---|
|
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. |
Not to be confused with
django-curated |
Django Utils is a collection
of small Django helper functions and classes which make commo… |
|
Category
|
App | App | App | App | App | App |
|
Using This
|
28
|
15
|
1
|
1
|
0
|
1
|
|
Python 3?
|
Yes | Yes | Yes | Yes | Yes | Yes |
|
Dev Status
|
Production/Stable | Production/Stable | Unknown | Production/Stable | Production/Stable | Mature |
|
Version (PyPI)
|
5.0.0 | 4.11.3 | 0.15.2 | 1.8.1 | 2.1.0 | 3.0.2 |
|
Stars
|
2,754 | 1,817 | 232 | 88 | 10 | 35 |
|
Forks
|
371 | 300 | 45 | 17 | 2 | 3 |
|
Commits
|
|
|
|
|
|
|
|
Updated
|
23 Mar 2026 | 2 May 2026 | 13 Jan 2026 | 30 Mar 2025 | 20 Aug 2025 | 4 Nov 2023 |
|
License
|
BSD | BSD-3-Clause | BSD-3-Clause | MIT License | BSD-2-Clause | BSD |
|
Links
|
||||||
|
Feature Comparison
(click cells to edit)
|
||||||
|
Admin integration
|
|
|
|
|
—
|
—
|
|
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`.
|
—
|
—
|
|
Type of inheritance
|
MTI
|
MTI + CT
|
STI
|
MTI + CT
|
—
|
—
|
polymorphic django models using automatic type-field downcasting
Django Utils is a collection of small Django helper functions and classes which make common patterns shorter and easier.
Features Being Compared
Admin integration
Whether the inherited modes can be managed in an admin screen.
Amount of queries
Type of inheritance
* STI: Single Table Inheritance * MTI: Multi Table Inheritance * CT: ContentTypes