Deployment Overview
Running Django in production requires a WSGI/ASGI server, static file handling, and environment configuration.
Official docs
Production Checklist
- Set
DEBUG = False - Configure
ALLOWED_HOSTS - Use environment variables for secrets
- Set up static files with
collectstatic - Use PostgreSQL (or your production DB)
- Run behind Gunicorn/uWSGI + Nginx