Ross ROSS = Recommend OSS · open-source software intelligence for agents

django-commons/django-polymorphic

Improved Django model inheritance with automatic downcasting observed · 2026-10-12

github.com/django-commons/django-polymorphic · homepage · Python · NOASSERTION (other) observed · 2026-10-12

Health v2 · maintenance only

95/100

  • Activity 98
  • Release rhythm 88
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 3.0
  • age_days: 5729
  • days_rel: 80
  • days_push: 13
  • n_releases_24m: 31

Full methodology

Adoption not part of the score

1836 stars · 304 forks observed · 2026-10-12

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Django library providing seamless polymorphic model inheritance with automatic downcasting, so queries on a base model return instances of the correct subclass. It integrates with the Django ORM, admin, and formsets.

Use cases

  • query a base Django model and get subclass instances back
  • implement polymorphic model inheritance in Django
  • manage inherited models in the Django admin
  • build formsets for Django model hierarchies
  • avoid manual downcasting of Django model query results

When to choose

  • you use Django's ORM and need inherited models returned as their concrete classes
  • you want polymorphic models integrated with Django admin and formsets
  • you need a mature, well-tested solution for Django model inheritance

When to avoid

  • you don't use Django or its ORM
  • you need database-level table inheritance rather than ORM-level downcasting
  • query performance is critical, since polymorphic queries add joins and overhead

Facets

library · maturity active

orm database web-development backend databases python django model-inheritance polymorphism downcasting django-admin django-formsets web-server

2 sources

Member repositories

RepositoryRoleHealth v2
django-commons/django-polymorphicmain95

For agents

markdown · JSON · MCP: product_card(name="django-commons/django-polymorphic")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem