django-patterns
Production-grade Django architecture patterns for scalable, maintainable applications.
- Covers project structure with split settings (base, development, production, test), custom managers and QuerySets, and service layer separation for business logic
- Includes Django REST Framework patterns: serializers with validation, ViewSets with custom actions, filtering, searching, and pagination
- Demonstrates ORM best practices: select_related and prefetch_related for N+1 prevention, bulk operations, database indexing, and constraint definitions
- Provides caching strategies at view, template fragment, and low-level cache layers, plus signal patterns for event-driven actions and custom middleware for request logging and user tracking
Django Development Patterns
Production-grade Django architecture patterns for scalable, maintainable applications.
When to Activate
- Building Django web applications
- Designing Django REST Framework APIs
- Working with Django ORM and models
- Setting up Django project structure
- Implementing caching, signals, middleware
Project Structure
Recommended Layout
myproject/
├── config/
More from affaan-m/everything-claude-code
security-review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.
7.9Kgolang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.
7.4Kcoding-standards
Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.
6.7Kfrontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
6.6Kbackend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
6.6Kgolang-testing
Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.
6.1K