Skip to content

Django REST Framework

Django REST Framework (DRF) is a professional REST API framework built on top of Django. It provides serializers, a class-based view hierarchy, authentication and permissions, filtering, pagination, and more — making it the most widely used frontend-backend separation API framework in the Python ecosystem.

This section covers DRF from core concepts to production use:

  • RESTful & DRF Introduction — design conventions, installation, 5-step quickstart
  • Serializers — Serializer, ModelSerializer, data validation and saving
  • Views and Routing — APIView, GenericAPIView, Mixins, ViewSets, Routers
  • Authentication, Permissions, and Throttling — Token auth, custom permission classes, rate limiting
  • Filtering, Ordering, and Pagination — django-filter, OrderingFilter, paginators, exception handling
  • Comprehensive Practice — a complete province management system with Vue frontend integration
Last updated on