compare
Django REST framework vs FastAPI
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Django REST framework | FastAPI |
|---|---|---|
| Language | Python | Python |
| Licence | Other | MIT |
| Stars | 30k | 103k |
| Latest | 3.18.1 | 0.142.2 |
| Last push | 2026-10-05 | 2026-10-06 |
| Release cadence | about 18 days between releases | about 1 day between releases |
| Active contributors | 28 commit authors on the default branch in the last 90 days | 8 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
FastAPI replaces Django REST framework. Alternatives to Django REST framework →
PartialBuilds the same kind of API outside Django, without its ORM and admin.
Django REST framework
- 3.18.12026-09-07Fix duplicate validation errors for GenericIPAddressField with protocol
- 3.18.02026-08-07Drop support for Django 4.2, Django 5.0 and Django 5.1
- 3.17.22026-08-05Fix disclosure of GET-protected data in case of validation error with AdminRenderer by @browniebroke in Thanks, @zainna…
- 3.17.12026-03-24Fix HTMLFormRenderer with empty datetime values
- 3.17.02026-03-18Drop support for Python 3.9
FastAPI
- 0.142.22026-09-30🐛 Allow startup when automatic OpenTelemetry configuration fails. PR #16418 by @tiangolo.
- 0.142.12026-09-29🐛 Fix repeated endpoint wrapping in included routers. PR #16414 by @tiangolo.
- 0.142.02026-09-29✨ Add native OpenTelemetry support. PR #16403 by @tiangolo.
- 0.141.12026-07-29🐛 Fix support for background tasks and headers from dependencies in app.frontend(). PR #16105 by @tiangolo.
- 0.141.02026-07-29✨ Add app.frontend(check_dir="auto"), to make local development more convenient with fastapi dev. PR #16102 by @tiangol…
Django REST framework
✓ signed The latest release, 3.18.1, carries a signature GitHub verified.
Loading the security report
FastAPI
✓ signed The latest release, 0.142.2, carries a signature GitHub verified.
Loading the security report