Classy Class-Based Views.
Detailed descriptions, with full methods and attributes, for each of Django's class-based generic views.
Did you know?
ccbv.co.uk/ClassName/ will take you straight to the class you're looking for.
Start Here for Django 3.2.
What are class-based views anyway?
Django's class-based generic views provide abstract classes implementing common web development tasks. These are very powerful, and heavily-utilise Python's object orientation and multiple inheritance in order to be extensible. This means they're more than just a couple of generic shortcuts — they provide utilities which can be mixed into the much more complex views that you write yourself.
Great! So what's the problem?
All of this power comes at the expense of simplicity. For example,
trying to work out exactly which method you need to customise, and
what its keyword arguments are, on your
can feel a little like wading through spaghetti — it has 10
separate ancestors (plus
object), spread across 3
different python files. This site shows you exactly what you need
How does this site help?
To make things easier, we've taken all the attributes and methods that every view defines or inherits, and flattened all that information onto one comprehensive page per view. Check out UpdateView, for example.