Sleeping with the enemy..
summary
Recreates DHH's 15‑minute blog demo in Django with a working GitHub repo, using Django's generic views and overriding get_queryset to add a preview query param, and showing model forms that tie fields widgets and type conversion into a cleaned_data save method so no attr_accessible or strong parameters are needed. Compares the Django form/widget/field pipeline to Rails params plus ActiveRecord attribute assignment and notes a Rails pull request inspired by these differences.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:37Anatomy of a Django Project
- 4:12Models
- 5:42Django Views
- 6:55Generic Views
- 8:31Query Set
- 9:50Get Dictionary
- 11:09Get Slug Field
- 12:13Template Method Pattern
- 15:08Create View
- 20:01Widgets
- 24:12Activerecord Attribute Assignment
related talks
01h 06mEffective Django
33mDjangoCon AU Lightning Talks
23mDjango REST API - So easy you can learn it in 25 minutes
26mBackend-First: Revolutionizing Front-End Development with Django and HTMX
33mDjango REST Framework: Moving Past the Tutorial to Production
53mDjango productivity tips and tricks
17mOff the Beaten Path: Exploring Unusual Roads to Django Performance
31m"Notes on Over-Engineering: A Project Post-Mortem"
