~/talk

Finite State Machine (FSM) in Django

Talkat PyCon US 2020 · 2020-04-15..04-23· [django]
slides:none on file

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

  1. 0:00Intro
  2. 0:13FINITE STATE MACHINES IN DJANGO
  3. 1:19SIX FEET UP IS HIRING!!
  4. 1:39SO WHAT ARE WORKFLOWS?
  5. 3:10A SIMPLE EXAMPLE
  6. 6:05EXTENDED TO COLLABORATION
  7. 8:55WHAT ABOUT RESEARCHING CANCER?
  8. 11:34SOME WORKFLOWS ARE AUTOMATIC
  9. 13:33SO, DJANGO.... THE WEB FRAMEWORK FOR PERFECTIONISTS WITH DEADLINES
  10. 16:27SIMPLE APPROACH COMPLICATED PROBLEM
  11. 16:54BASICS Custom Model Field - FSMField
  12. 19:19HOW DO YOU GET TO THESE STATES?
  13. 21:57DEFINE PERMISSIONS
  14. 29:59DJANGO MANAGEMENT COMMAND!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.