# encode/rest-framework-tutorial

The Django REST framework tutorial. 🎓

Repository: https://github.com/encode/rest-framework-tutorial
Canonical: https://ross.abutalabs.com/products/rest-framework-tutorial
Homepage: http://www.django-rest-framework.org/tutorial/1-serialization/
Language: Python
License Family: other
Last push: 2026-08-23T14:59:10+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 5059, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1267, forks 582 (observed 2026-08-28T04:04:11.427895+00:00)

## What it is
Source code for the official Django REST framework tutorial, a step-by-step guide to building a pastebin-style Web API with Django. It accompanies the serialization, quickstart, and related tutorial chapters on the DRF documentation site.

## Use cases
- learn django rest framework from scratch
- example code for building a rest api with django
- follow along with the drf serialization tutorial
- see how django rest framework components fit together
- starter code for a django web api project

## When to choose
- you are learning Django REST framework and want the official tutorial code
- you want a small, complete example of a Django Web API to study or deploy

## When to avoid
- you need a production-ready API scaffold rather than tutorial code
- you are not using Django or Python for your backend

## Facets
- artifact type: learning-resource
- maturity: active
- function: api-framework, serialization, web-framework
- domain: web-development, backend, apis, tutorials
- platform: python
- tags: django-rest-framework, tutorial, example-code, rest-api, learning, web-server

## Member repositories
- encode/rest-framework-tutorial (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:11.427895+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:42.073048+00:00, confidence not recorded.
  - readme: https://github.com/encode/rest-framework-tutorial (fetched 2026-08-28T04:04:11.427895+00:00, sha 8d69137f9131)
  - homepage: http://www.django-rest-framework.org/tutorial/1-serialization/ (fetched 2026-08-29T12:15:45.976529+00:00, sha fa225d71f3d1)
  - site_page: https://www.django-rest-framework.org/tutorial/quickstart (fetched 2026-08-29T12:15:45.986507+00:00, sha be03073f43e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
