What are Class-based Views?2:22 with Kenneth Love
Most people start writing Django views by using functions. This works great until you start creating multiple features that share a lot of similar view functionality. Function-based views are hard to reuse or make abstract. Django provides several classes for creating generic views, though!
You need to sign up for Treehouse in order to download course files.Sign up