--- id: djangorestframework version: "3.18.0" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # djangorestframework — Web APIs for Django, made easy. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install djangorestframework uv add djangorestframework poetry add djangorestframework ## Description # [Django REST framework][docs] [![build-status-image]][build-status] [![coverage-status-image]][codecov] [![pypi-version]][pypi] **Awesome web-browsable Web APIs.** Full documentation for the project is available at [https://www.django-rest-framework.org/][docs]. --- # Overview Django REST framework is a powerful and flexible toolkit for building Web APIs. Some reasons you might want to use REST framework: * The Web browsable API is a huge usability win for your developers. * [Authentication policies][authentication] including optional packages for [OAuth1a][oauth1-section] and [OAuth2][oauth2-section]. * [Serialization][serializers] that supports both [ORM][modelserializer-section] and [non-ORM][serializer-section] data sources. * Customizable all the way down - just use [regular function-based views][functionview-section] if you don't need the [more][generic-views] [powerful][viewsets] [features][routers]. * [Extensive documentation][docs], and [great community support][group]. **Below**: *Screenshot from the browsable API* ![Screenshot][image] ---- # Requirements * Python 3.10+ * Django 5.2, 6.0, 6.1 We **highly recommend** and only officially support the... ## AI interpretation — verify before relying djangorestframework builds web APIs on top of Django with automatic serialization, authentication, and a browsable web interface for developers. Verdict: djangorestframework is a mature, actively maintained framework (Production/Stable) with strong community adoption and zero known vulnerabilities. Low install friction and permissive licensing make it a reliable choice for building REST APIs on Django. [View on SkillFed](https://skillfed.io/packages/djangorestframework) · [View on PyPI](https://pypi.org/project/djangorestframework/)