Operations: The Missing Django Piece with Micah Lyle
summary
Claim: Operations is an opinionated, lightweight layer that pulls business logic out of models and views into callable units that live in an ops folder or ops.py with a few simple rules. Implementation on about a dozen Django projects and a starter product called Better Base shows it in practice. A case study of an invitation system spans ~1,500 lines of code and a few thousand tests and demonstrates faster comprehension, clearer boundaries, and reliable reuse across views, tasks, and background jobs.
AI-written summary Β· about
chapters (7)
- 0:00Introduction
- 4:20Django apps over time
- 7:56MVT structure evolves
- 12:59Operations as solution
- 19:50Operations in Django
- 21:54Demo: operations for invitations
- 25:24Summary
related talks
01h 06mEffective Django
23mBeyond the Basics of Migrations
32mEasy, Breezy, Beautiful... Django Unit Tests with Colleen Dunlap
26mDjango at
31m"Notes on Over-Engineering: A Project Post-Mortem"
33mHow I learned Django while working at Eventbrite
23mThree Django Apps in a Trenchcoat: Writing an event management website with not a lot of time
33mThe D is Silent: Challenges in Teaching Django
