Django Class-Based Views in Diagrams
Visualizing Class-Based Views
Django's built-in class-based views (CBVs) can be hard to understand. Classy Class-Based Views is a great resource but I often find myself going from method to method, following the logic flow of the view. Instead of doing that over and over, I've created flowcharts of the logic in each view.
Each diagram starts at the dispatch method, which routes the view logic based on whether it is a POST or GET request, and continues through the view until it reaches the response or redirect.
If you see any errors or omissions, let me know. More views to be added soon.
Note: These are best viewed on desktop. I'm trying to find a way to make them mobile-friendly.