Django REST Framework (DRF) Patterns
Implements scalable, secure, and performant Django REST Framework APIs using standardized patterns for serializers, viewsets, and JSON:API compliance.
This skill provides a comprehensive set of best practices and implementation patterns for building Django REST Framework (DRF) APIs, specifically optimized for high-security environments like the Prowler platform. It enforces strict architectural standards including the separation of serializers by operation (Read/Create/Update), Row Level Security (RLS) integration, and N+1 query prevention through proactive eager loading. By guiding the implementation of ViewSets, complex filtersets, and custom permissions, it ensures that backend services remain consistent, performant, and fully compatible with automated OpenAPI documentation via drf-spectacular.