pypi / django-ninja
django-ninja
What changed in django-ninja 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
1 new APIs and options2 behavior and defaults1 tooling10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdjango-ninja 114 changes
New APIs and options 1
LimitOffsetPagination now supports max_limit in the decorator.
Behavior and default changes 2
TestClient now uses real HttpRequest objects.
The upper constraint on supported Django versions is removed.
Tooling 1
Streaming responses are generic for type checkers.
Fixes and other changes 10
Duplicate async authentication calls are avoided.
Percent sequences in HTTP Basic credentials are preserved.
Fixes dark mode compatibility for AI.
Django 6.1 support is confirmed.
Fixes handling of form fields in empty multipart request bodies.
Ninja settings now support override_settings.
Annotation fixes improve compatibility with Python 3.14.
Throttled 429 responses now set the Retry-After header.
TextField max_length is validated on request input only.
Fixes the site URL used by uvicorn.