Learn Before
Relation
Class Based Views vs. Function Based Views in Django
Django has two types of views; function-based views (FBVs), and class-based views (CBVs). Django originally started out with only FBVs, but then added CBVs as a way to templatize functionality so that you didn't have to write boilerplate (i.e. the same code) code over and over again. CBVs would be a way to increase productivity and make it so that you don't have to write as much code.
0
1
Updated 2021-03-30
Tags
Python Programming Language
Data Science