dmr
Installation
SKILL.md
django-modern-rest (dmr)
django-modern-rest is a typed, sync-and-async REST layer for Django:
Controller classes with one method per HTTP verb, DTOs parsed from
Body, Query, Headers, Cookies, and Path annotations,
Router based URLs, built-in auth and throttling,
and OpenAPI generated from the types.
When to use
- Any file that imports from
dmr, or a project withdjango-modern-restin its dependencies. - Requests for a "typed", "modern", or "async" Django REST API.
- Reviews of existing
dmrcode: use the checklist at the end.
For migrations from other frameworks use dmr-from-drf,
dmr-from-django-ninja, or dmr-from-dj-rest-auth.
For version bumps use dmr-upgrade.
For scaffolding from an OpenAPI document use dmr-openapi-skeleton.