Django productivity tips and tricks
summary
Recommends concrete setup: use virtualenv isolation for dev/CI/production, pin C libraries inside the venv, install with pip/setuptools and use setup.py develop; run coverage (example shows 91% on a real project) and publish results. Use buildbot master-slave to trigger tests on team laptops and deploy test environments. Use uWSGI Emperor with one master + 7 workers, 60s request timeout and auto-reload to manage releases. Prefer proxy-user + middleware over brittle monkeypatching; use ModelForm factories and autosave-admin patterns.
AI-written summary · about
chapters (11)
- 0:00Welcome
- 1:43Setting up the Python development environment
- 10:11Virtual environments and dependency management
- 15:51Continuous integration with Buildbot
- 21:14Django management commands
- 23:26WSGI with uWSGI
- 30:06Extending user models
- 35:56Django forms
- 43:28Custom Django admin forms
- 47:58Django admin security
- 50:27Custom Django admin
related talks
41mProduction Django: Building a Highly Scalable, Secure Django Site
01h 06mEffective Django
24mStumbling Through Django and How Not To
29mCan packaging improve Django deployments?
34mContinuous Deployment for webapps based on Django
30m"What Django Deployment is Really About"
26mWhat Django Deployment is Really About
26mDjango at
