repowiserepowise

Library

encode / django-rest-framework

Web APIs for Django. 🎸

β˜… 30,229stars on GitHubPython

Repowise maps public repos from their source. Not affiliated with encode. What is Repowise?

github.com/encode/django-rest-frameworkIndexed at d24442d

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
django-rest-framework facts
TypeLibrary
Code health6.9 / 10 (Fair)
Health rank#125 of 4,000+ indexed repos
Last commitJun 25, 2026
Contributors1,443
Bus factor1
Size250 files, 46,099 lines

Explore django-rest-framework

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.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/encode/django-rest-framework
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

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

6.9out of 10Fair

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.