Django Patterns

Guides Django architecture, DRF APIs, ORM patterns, and testing. Use when this capability is needed.

tomevault-io Updated

File contents

Django Development Patterns

Use this skill when building or refactoring Django applications.

When to Use

  • designing models, managers, or querysets
  • building DRF serializers and viewsets
  • organizing a Django project for maintainability
  • adding auth, caching, middleware, or testing patterns

Core Workflow

  1. choose the project and app structure
  2. model the domain cleanly with queryset and manager helpers
  3. build API boundaries with serializers and views or viewsets
  4. layer in auth, caching, and testing intentionally

References

  • references/settings-examples.md
  • references/model-examples.md
  • references/drf-examples.md
  • references/additional-patterns.md
  • references/authentication.md
  • references/testing-django.md
  • references/viewsets-views.md

Source: basidiocarp/lamella — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/basidiocarp--lamella--django-patterns commit 3dfc8b6f67

Frequently asked questions

npx skillmds@latest add tomevault-io/django-patterns-7