Anatomy of a Django Project
summary
Claims that matter: manage.py isn't part of the project and a project is just settings — the settings module defines the deployment, URLs and WSGI reference it, and multiple settings files map to environments. Demonstrations use startproject, virtualenvwrapper, django-admin, WSGI and pip-installable layouts; examples include a conventional layout, a reusable "turnkey" app with setup.py and wsgi that can be deployed under gunicorn/unicorn, and a single-file micro project that works but is discouraged. Experience comes from dozens of starts and a dozen codebase reviews.
AI-written summary · about
chapters (9)
- 0:00Introduction to Django
- 2:34Project anatomy
- 4:04Managing project files
- 6:26Core configuration files
- 9:23Rethinking project structure
- 13:04Alternative project layouts
- 15:42The 'core' app pattern
- 17:34Micro projects
- 18:44Turnkey apps and conclusion
related talks
53mDjango productivity tips and tricks
30m"What Django Deployment is Really About"
29mCan packaging improve Django deployments?
53mDjango productivity tips and tricks
26mUsing Django as a Micro-Framework: Hacking on the HTTP handlers..
36mFrom Project to Productionized on Heroku
41mProduction Django: Building a Highly Scalable, Secure Django Site
34mContinuous Deployment for webapps based on Django
