Django Anvil
Declarative Resource classes that generate a DRF API, RBAC enforcement,
multi-tenant scoping, audit history, and tests — from one model definition.
Free, open-source, installs into any existing Django + DRF project.
Every Django + DRF project ends up writing the same boilerplate for every model: a serializer, a viewset with search/filter/ordering wired up, a router registration, an admin registration, a test file. Then doing it again for permissions. Again for multi-tenancy. Again for audit history — usually slightly differently each time, by whoever wrote that particular model.
Anvil collapses all of that into one declarative Resource class per model.
Run one command and get real, ordinary, editable Django/DRF code back — not a runtime
abstraction you have to work around later when it doesn't fit. It installs into an
existing project; it doesn't ask you to restructure one around it.
Resource class next to your model — fields, permissions, tenancy, all declarative.anvil resource Product writes the serializer, viewset, urls, admin, and tests.