# jazzband/django-smart-selects

chained and grouped selects for django forms

Repository: https://github.com/jazzband/django-smart-selects
Canonical: https://ross.abutalabs.com/products/django-smart-selects
Homepage: https://django-smart-selects.readthedocs.io/
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2024-10-30T09:32:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6343, "days_push": 672, "days_rel": 672, "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 1145, forks 344 (observed 2026-08-28T04:03:45.508332+00:00)

## What it is
A Django app providing custom foreign key and many-to-many model fields that create chained (dependent) select dropdowns in forms and the admin. Chained options are loaded dynamically via AJAX queries filtered by the parent field's value.

## Use cases
- filter country/state/city dropdowns in django forms
- chained foreign key selects in django admin
- load dependent dropdown options via ajax in django
- group model choices by parent field in django
- cascade select fields in django admin site

## When to choose
- you need dependent/chained select fields in Django forms or admin with minimal setup
- you want automatic AJAX filtering of related model options
- your data is non-sensitive and the default world-readable AJAX endpoint is acceptable

## When to avoid
- you need permission checks on the chained data endpoint - this package enforces none by default
- you need advanced autocomplete features like search-as-you-type; django-autocomplete-light is better suited
- you are not using Django

## Facets
- artifact type: library
- maturity: active
- function: form-handling, ui-components, middleware
- domain: web-development, backend, frontend
- platform: python
- tags: django, chained-selects, foreign-key, ajax, admin, forms, web-server

## Member repositories
- jazzband/django-smart-selects (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:45.508332+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-30T06:34:30.347740+00:00, confidence not recorded.
  - readme: https://github.com/jazzband/django-smart-selects (fetched 2026-08-28T04:03:45.508332+00:00, sha 3a17bc3d86fa)
  - registry_pypi: https://pypi.org/pypi/django-smart-selects/json (fetched 2026-08-29T12:40:11.736305+00:00, sha 23bd606905d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
