# beda-software/drf-writable-nested

Writable nested model serializer for Django REST Framework

Repository: https://github.com/beda-software/drf-writable-nested
Canonical: https://ross.abutalabs.com/products/drf-writable-nested
Language: Python
License: NOASSERTION
License Family: other
Last push: 2025-09-15T09:21:09+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 42, release rhythm 16, longevity 100
- inputs: {"age_days": 3483, "days_push": 352, "days_rel": 541, "gap_med": 132, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1140, forks 115 (observed 2026-08-28T04:03:44.330790+00:00)

## What it is
A Python library providing writable nested model serializers for Django REST Framework, enabling creation and updates of models with related nested data. It supports OneToOne, ForeignKey, ManyToMany, and GenericRelation relations.

## Use cases
- create/update django models with nested related data in one request
- writable nested serializers for django rest framework
- save reverse foreign key relations through a parent serializer
- handle one-to-one and many-to-many nested writes in DRF
- avoid manually overriding create and update for nested serializers

## When to choose
- you use Django REST Framework and need to persist nested related objects in a single API call
- your API payloads include nested representations of related models that must be created or updated together

## When to avoid
- you don't use Django or Django REST Framework
- you only need read-only nested serialization, which DRF supports natively
- you need m2m relations with through models, which are not supported

## Facets
- artifact type: library
- maturity: active
- function: serialization, orm
- domain: web-development, backend, apis
- platform: python
- tags: django, django-rest-framework, drf, nested-serializers, rest-api

## Member repositories
- beda-software/drf-writable-nested (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.330790+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:35:28.848865+00:00, confidence not recorded.
  - readme: https://github.com/beda-software/drf-writable-nested (fetched 2026-08-28T04:03:44.330790+00:00, sha 1d65e4431c0d)
  - registry_pypi: https://pypi.org/pypi/drf-writable-nested/json (fetched 2026-08-29T12:40:37.761137+00:00, sha 082d85169fac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
