# Django REST Framework

> Use for Django REST Framework serializers, ViewSets, APIViews, permissions, authentication, pagination, filtering, or DRF API behavior.

- Skill: `rhenter/django-rest-framework` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rhenter/django-rest-framework`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rhenter/django-rest-framework/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: rhenter (https://skillmd.com/u/rhenter)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/rhenter/django-rest-framework

---


# Django Rest Framework

- Use serializers for validation and representation.
- Follow existing ViewSet/APIView/generic-view conventions.
- Make authentication, permissions, pagination, and filtering explicit.
- Keep domain logic out of serializers when it belongs elsewhere.
- Check queryset efficiency and authorization boundaries.

