# jazzband/django-model-utils

Django model mixins and utilities.

Repository: https://github.com/jazzband/django-model-utils
Canonical: https://ross.abutalabs.com/products/django-model-utils
Homepage: https://django-model-utils.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-17T17:50:39+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 6140, "days_push": 16, "days_rel": 728, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2762, forks 372 (observed 2026-08-28T04:07:18.501175+00:00)

## What it is
django-model-utils is a collection of Django model mixins and utility classes such as TimeStampedModel, StatusField, and QueryManager. It reduces boilerplate in Django model definitions and query construction.

## Use cases
- add created and modified timestamps to Django models automatically
- add a status field with choices to a Django model
- define managers with filtered querysets on models
- reduce boilerplate in Django model definitions
- track model field changes in Django

## When to choose
- you use Django ORM and want common model patterns without rewriting them
- you want a well-maintained, widely adopted set of Django model mixins

## When to avoid
- you don't use Django or its ORM
- you need only one or two trivial helpers you could implement yourself

## Facets
- artifact type: library
- maturity: stable
- function: orm, developer-tools
- domain: web-development, backend, developer-tools
- platform: python
- tags: django, model-mixins, statusfield, timestamped-models, queryset-utilities, web-server

## Member repositories
- jazzband/django-model-utils (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.501175+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:18:42.471282+00:00, confidence not recorded.
  - readme: https://github.com/jazzband/django-model-utils (fetched 2026-08-28T04:07:18.501175+00:00, sha 513b213d114b)
  - registry_pypi: https://pypi.org/pypi/django-model-utils/json (fetched 2026-08-29T09:56:56.168774+00:00, sha 2ead372bfdf1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
