Library
encode / django-rest-framework
Web APIs for Django. πΈ
Releases on GitHub (latest 3.18.3, Oct 6, 2026)
Repowise maps public repos from their source. Not affiliated with encode. What is Repowise?
What is django-rest-framework?
Django REST framework is a toolkit for building Web APIs in Django projects. It adds serialization, authentication and permission handling to Django, and it provides a browsable API that developers can open in a web browser. The project is written in Python and is installed from PyPI as djangorestframework. Its code health is 6.9 out of 10 (Fair), ranked #125 of 4,000+ indexed repos. The last commit to django-rest-framework was on Jun 25, 2026, and 1,443 people have contributed.
As of commit d24442d, indexed Jul 22, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsdjango-rest-framework.md
Repo facts: type, license, health, rank, contributors
| Type | Library |
|---|---|
| Code health | 6.9 / 10 (Fair) |
| Health rank | #125 of 4,000+ indexed repos |
| Last commit | Jun 25, 2026 |
| Contributors | 1,443 |
| Bus factor | 1 |
| Size | 250 files, 46,099 lines |
Explore django-rest-framework
- DocumentationModule-by-module documentation, written from the source.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to django-rest-framework's code. It does not install django-rest-framework.
Useful if you want to change or fork django-rest-framework: your agent can ask how it is put together and get answers that cite its files.
Show the connect command (Claude Code, Cursor, Codex, VS Code)
Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/encode/django-rest-framework
This repo is public, so anyone with a free Repowise account can connect.
Try asking
- get_overview()
- get_answer("how is django-rest-framework put together?")
- get_why("why is django-rest-framework structured this way?")
Ask about django-rest-framework
Answers come from django-rest-framework's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of encode/django-rest-framework from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
encode/django-rest-framework FAQ
What is Django REST framework?
Django REST framework is a toolkit for building Web APIs on Django. It supports model-backed APIs, such as an API for accessing users and groups.
How does Django REST framework work?
Django REST framework adds serialization, authentication and permissions to a Django project. It is configured through the REST_FRAMEWORK settings, and it can serialize data from both ORM and non-ORM sources.
What language is Django REST framework written in?
Django REST framework is written in Python, and its main code lives in the rest_framework package.
How is the Django REST framework code organized?
The rest_framework directory holds the main package, the tests directory holds the test suite, and the docs directory holds the documentation source.
Who is Django REST framework for?
Django REST framework is for developers who build Web APIs with Django and want serialization, authentication and a browsable API.
Code health
On the leaderboards:#7 of 8 Python web frameworks#33 of 64 Python repos
Key features of django-rest-framework
- Provides a web-browsable API that developers can use to explore endpoints.
- Offers authentication policies, including optional packages for OAuth1a and OAuth2.
- Serializes data from both ORM and non-ORM data sources.
- Lets developers use regular function-based views when the more advanced features are not needed.
- Sets default permission classes through the REST_FRAMEWORK settings.
How encode/django-rest-framework works
The rest_framework directory is the package that is added to INSTALLED_APPS and contains the framework code. Serialization handles both ORM and non-ORM data sources, and authentication policies are provided, including optional packages for OAuth1a and OAuth2. Permissions and other behavior are set through the REST_FRAMEWORK settings dictionary, such as DEFAULT_PERMISSION_CLASSES. The project depends on Django, and pyproject.toml is the manifest that declares the package. The docs directory holds the documentation source, with docs/index.md as its entry point, and the tests directory holds the test suite. The .github/workflows/main.yml file defines the main GitHub workflow.
The codebase has 250 files and 3,863 symbols in 4 modules, led by Python and JavaScript. Code health is 6.9 out of 10, rated fair.
Maintain encode/django-rest-framework?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of encode/django-rest-framework. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask django-rest-framework's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/encode/django-rest-framework?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/encode/django-rest-framework?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/encode/django-rest-framework.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/encode/django-rest-framework?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/encode/django-rest-framework.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/encode/django-rest-framework.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>