Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

django-expert

Build Django models, DRF serializers, and viewsets with indexes, permissions, and query optimization.

When to use it

You have Django models or API endpoints sketched out but still need serializers, viewsets, permissions, and tests wired together.

For example

You say

Use django-expert to build a Django REST API for a blog: Article and Comment models, serializers, a viewset with read-only public access and authenticated writes, and APITestCase tests.

You get
  • models.py with indexes
  • serializers.py with validation
  • viewset with permissions

How it works

  • Uses select_related/prefetch_related to avoid N+1 queries on related objects.
  • Runs makemigrations and migrate, then checks endpoints before adding auth.