Hacker ApprovedDepartments

django-ninja

Shares rank 33 of 63 web frameworks by recommenders

People recommend it as a thin, typed way to build APIs in Django, with input validation and OpenAPI docs included, and it works well alongside the Django ORM.

People recommend it as a thin, typed way to build APIs in Django, with input validation and OpenAPI docs included, and it works well alongside the Django ORM.

9 people gave an opinion

recommend it
8
criticize it
1
approval share
89%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 8 people recommend itNeeds 10 or more, not met.
  • 8 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Thin alternative to DRF

    “django-ninja is a great alternative to DRF, precisely because it's so thin, unlike DRF.”

    Comment from 28 Jan 2026 in “Notes on Starting to Use Django”

    “Django with DRF or django-ninja works really nice for that use case.”

    Comment from 28 Jan 2026 in “Notes on Starting to Use Django”
  • Works well with Django

    “Django with DRF or django-ninja works really nice for that use case.”

    Comment from 28 Jan 2026 in “Notes on Starting to Use Django”

    “It plays nicely with all parts of Django, including the ORM.”

    Comment from 28 Jan 2026 in “Notes on Starting to Use Django”

    “it's the best thing happen to my 12 years Django career”

    Comment from 13 Dec 2025 in “Django 6”
  • Input validation and OpenAPI included

    “I found it to be a big help personally and always wanted something for fastapi.”

    Comment from 17 Mar 2026 in “Show HN: Oxyde – Pydantic-native async ORM with a Rust core”

    “give you input validation and OpenAPI for free”

    Comment from 13 Apr 2026 in “Show HN: 15 yrs of Django in prod: patterns I keep using (agent skills)”

What people warn about

Each mark is one comment

  • Heavy dependency footprint

    “Ninja is quite a heavyweight in terms of dependencies”

    Comment from 6 Aug 2026 in “What I love about Django”

Other web frameworks people recommend

The four most recommended other web frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

django-ninja compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Ruby on Rails33714570%1214 yrs38 ownersApproved
Django2779774%1215 yrs38 ownersApproved
Next.js12725633%123 yrs6 owners—
Phoenix Framework851189%128 yrs7 ownersApproved
django-ninjaThis page8189%5——
See all 63 web frameworks, ranked

What people said

All 9 comments that mention it, newest first. Each links to the original comment.

“static typing ensures my view doesnt emit unrepresentable data”

RecommendsComment from 12 Aug 2026 in “HTML over WebSockets: real-time SPAs with barely any JavaScript”

“Ninja is quite a heavyweight in terms of dependencies”

CriticizesComment from 6 Aug 2026 in “What I love about Django”

“give you input validation and OpenAPI for free”

RecommendsComment from 13 Apr 2026 in “Show HN: 15 yrs of Django in prod: patterns I keep using (agent skills)”

“I found it to be a big help personally and always wanted something for fastapi.”

RecommendsComment from 17 Mar 2026 in “Show HN: Oxyde – Pydantic-native async ORM with a Rust core”

“development accelerated massively”

RecommendsComment from 30 Jan 2026 in “Notes on Starting to Use Django”

“It plays nicely with all parts of Django, including the ORM.”

RecommendsComment from 28 Jan 2026 in “Notes on Starting to Use Django”

“Django with DRF or django-ninja works really nice for that use case.”

RecommendsComment from 28 Jan 2026 in “Notes on Starting to Use Django”

“django-ninja is a great alternative to DRF, precisely because it's so thin, unlike DRF.”

RecommendsComment from 28 Jan 2026 in “Notes on Starting to Use Django”

“it's the best thing happen to my 12 years Django career”

RecommendsComment from 13 Dec 2025 in “Django 6”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.