What problem does it solve? Django applications are vulnerable to common web attacks like SQL injection, XSS, CSRF, and weak authentication when developers misconfigure settings or write unsafe code. This Skill provides concrete, production-ready security patterns and configurations to harden Django applications against these threats. ## Core Features & Use Cases - Production Security Settings: Enforces HTTPS, HSTS, secure cookies, security headers, and environment-based secret management with DEBUG disabled. - Authentication & Authorization: Covers custom user models, Argon2 password hashing, RBAC, permission mixins, and DRF permission classes like IsOwnerOrReadOnly. - Attack Prevention: Provides safe patterns for ORM queries (SQL injection), template escaping (XSS), CSRF tokens, file upload validation via magic bytes, and API rate limiting. - Use Case: Before deploying a Django app to production, use this Skill to audit your settings.py, add CSP headers, configure throttling, and validate that file uploads check MIME types against extensions. ## Quick Start Review my Django project's settings and views for security issues and apply the production hardening configurations.