Django REST Framework

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

rhenter Updated

File contents

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.

rhenter/agent-skills/tree/main/skills/django-rest-framework commit fec576e7ca

Frequently asked questions

npx skillmds@latest add rhenter/django-rest-framework