Skip to content
项目

nioperas06/awesome-django-rest-framework

在 GitHub 查看

关于

💻😍 使用 Django REST Framework 创建优秀 API 所需的工具、流程和资源

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
-2
15天
-1
1个月
+1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Awesome

Awesome Django REST Framework Awesome

Curated list of tools, processes and resources you need to create an awesome API with Django REST Framework!

Let's make it the biggest resource repository for our community.

Please read the contribution guidelines before contributing.

Check out my medium blog or say hi on Twitter.

Table of Contents

Packages

Authentication

  • django-rest-passwordreset: Password reset endpoints that hook into Django Authentication system
  • djoser: REST implementation of Django authentication system
  • dj-rest-auth: A set of REST API endpoints to handle User Registration and Authentication tasks
  • django-rest-registration: User registration and authentication REST API, based on Django REST Framework.
  • django-rest-framework-simplejwt: A JSON Web Token authentication plugin for the Django REST Framework
  • django-rest-framework-social-oauth2: python-social-auth and oauth2 support for django-rest-framework
  • django-oauth-toolkit: Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic needed to add OAuth2 capabilities to your Django projects. Django OAuth Toolkit makes extensive use of the excellent OAuthLib, so that everything is rfc-compliant.
  • django-rest-durin provides token auth for multiple Web/CLI/Mobile API clients via one interface but allows different token configuration for each client (For example, permissions and token expiration time can be different per API client).
  • djangorest-routes: Djangorest Routes is an authentication library strongly built in Python that serves the purpose of quick bootstrapping a project's authentication infrastructure.

Authorization

Documentation

  • drf-yasg: Alternative OpenAPI Generator for Django REST Framework with response schema support
  • drf-spectacular: Sane and flexible OpenAPI 3.0 schema generation for Django REST framework
  • drf-openapi-tester: Test drf test responses against OpenAPI/Swagger documentation.
  • Cortex: Generate interactive API documentation, typed SDKs, and MCP servers from the OpenAPI schema produced by Django REST Framework.

Routing

Serialization

  • django-rest-framework-recursive: Recursive Serialization for Django REST framework
  • drf-extra-fields: Extra fields for Django REST framework.
  • drf-simple-api-errors: Consistent, predictable API error responses inspired by RFC 7807, with drf-spectacular integration for OpenAPI schemas.
  • drf-errors: Extension for Django REST framework error display.
  • drf-flex-fields: Dynamically set fields and expand nested resources in Django REST Framework serializers.
  • drf-writable-nested: Writable nested model serializer for Django REST Framework
  • drf-shapeless-serializers: provides powerful mixins that extend Django REST Framework's serializers with dynamic configuration capabilities so you can select fields at runtime, rename output keys dynamically, modify field attributes per-request, add and configure nested relationships on-the-fly and apply conditional field logic.
  • imgproxykit: Django REST Framework serializer fields for generating imgproxy image URLs and named variants with reusable transformations.

Visualization

  • django-rest-pandas: Serves up Pandas dataframes via the Django REST Framework for use in client-side (i.e. d3.js) visualizations and offline analysis (e.g. Excel)
  • django-rest-framework-gis: Geographic add-ons for Django REST Framework
  • drf-renderer-xlsx: Allows you to create XLSX for Django REST Framework

Logging

  • drf-api-tracking: Provides a Django model and DRF view mixin that work together to log Django Rest Framework requests to the database.
  • django-requestlogs: Package providing middleware and other helpers for audit logging.
  • logbrew-django: Error monitoring for Django and DRF. Unhandled errors show up in LogBrew with the request and the logs around them.

Filtering

Pagination

Renderers and Parsers

Other

  • django-orm-lens: Static analyzer for Django models — sidebar tree, ER diagram, ORM linter, MCP server. Helps trace model shapes that ViewSets and Serializers reason about. No DB, no Django boot.
  • drf-sendables: User messages for Django REST Framework
  • django-rest-localflavor: Country-specific Django helpers, to use in Django Rest Framework
  • django-rest-framework-json-api: Implements most of the JSON API 1.0 spec.
  • drf-extensions: DRF-extensions is a collection of custom extensions for Django REST Framework
  • drf-generators: Generate Views, Serializers, and Urls for your Django Rest Framework application.
  • django-restql: Turn your API made with Django REST Framework(DRF) into a GraphQL like API.
  • django-rest-tsg: A TypeScript code generator for DRF serializers, enums and dataclasses.
  • django-rest-cli: A CRUD endpoints generator and flexible cookiecutter for rapid REST APIs dev.

Tutorials

Books

Courses

Talks

Common issues

探索相关项目

加载中…