Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the implementation of Finite State Machines (FSM) in Django through this PyCon US talk. Dive into the power of workflows for automating business processes and learn how to build lightweight, efficient solutions using django-fsm. Discover the similarities between everyday workflows and FSMs, and see practical examples ranging from simple time-off requests to complex cancer research processes. Gain insights into custom model fields, state transitions, permission definitions, and visualization techniques. Learn how to leverage Django's framework to tackle complicated problems with elegance and simplicity, complete with audit logging and code-generated workflow visualizations for stakeholder confirmation.
Syllabus
Intro
FINITE STATE MACHINES IN DJANGO
SIX FEET UP IS HIRING!!
SO WHAT ARE WORKFLOWS?
A SIMPLE EXAMPLE
EXTENDED TO COLLABORATION
WHAT ABOUT RESEARCHING CANCER?
SOME WORKFLOWS ARE AUTOMATIC
SO, DJANGO.... THE WEB FRAMEWORK FOR PERFECTIONISTS WITH DEADLINES
SIMPLE APPROACH COMPLICATED PROBLEM
BASICS Custom Model Field - FSMField
HOW DO YOU GET TO THESE STATES?
DEFINE PERMISSIONS
DJANGO MANAGEMENT COMMAND!
Taught by
PyCon US