Posted On: Feb 22, 2020
A Class-based view in Django provides an alternative to implementing views as Python objects instead of functions.
A view in Django is actually a callable which does the work of taking a request and returning a response in return. This is not just a function but is much more than that. Django provides a particular example of some of the classes which can be conveniently used as the views. These allow a person to structure the views and reuse the code by binding the inheritance and the mixins.
Never Miss an Articles from us.
What does Of Django Field Class types do?..
Does Django Follow Architectural pattern?..