Running the Deployment Checklist
Audit settings with manage.py check --deploy.
One Command to Audit Everything
Django ships a built-in security auditor. The deployment checklist scans your settings and warns you about anything unsafe before launch day. ✅
Run check --deploy
Run the check command with the deploy flag. It activates extra security checks that normal checks skip, printing warnings you can act on.
python manage.py check --deployAll lessons in this course
- DEBUG, SECRET_KEY, and ALLOWED_HOSTS
- HTTPS, HSTS, and Secure Cookies
- XSS, CSRF, and SQL Injection Defenses
- Running the Deployment Checklist