Finite State Machine (FSM) in Django
summary
Shows how to model real workflows in Django and actually ship them using django-fsm, with concrete examples (university program-change form and case-report review), guarded transitions that check permissions, a concurrent transition mixin to avoid race conditions, and automatic audit logging (fsm-log) plus graph generation from code (Graphviz) to validate diagrams with stakeholders; demonstrates admin integration and middleware for current-user attribution and reports that these pieces work together in production-style demos.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:13FINITE STATE MACHINES IN DJANGO
- 1:19SIX FEET UP IS HIRING!!
- 1:39SO WHAT ARE WORKFLOWS?
- 3:10A SIMPLE EXAMPLE
- 6:05EXTENDED TO COLLABORATION
- 8:55WHAT ABOUT RESEARCHING CANCER?
- 11:34SOME WORKFLOWS ARE AUTOMATIC
- 13:33SO, DJANGO.... THE WEB FRAMEWORK FOR PERFECTIONISTS WITH DEADLINES
- 16:27SIMPLE APPROACH COMPLICATED PROBLEM
- 16:54BASICS Custom Model Field - FSMField
- 19:19HOW DO YOU GET TO THESE STATES?
- 21:57DEFINE PERMISSIONS
- 29:59DJANGO MANAGEMENT COMMAND!
related talks
01h 06mEffective Django
29mPushing The Pony's Boundaries - Django Admin Customization
43mDigging Into Django's Migrations
29mBuilding real time applications with Django
31mDjango for life (sciences)
49m"State of Django" Panel
26mThe evolution of a Django Website into a radio automation back-end
26mDjango for IOT: From Hackathon to Production
