Ah the old debate about function-based views and class-based views.
I totally understand why the OP would use only FBV, however when writing REST APIs you will want CBV to reuse base classes such as ListView.
Ah the old debate about function-based views and class-based views.
I totally understand why the OP would use only FBV, however when writing REST APIs you will want CBV to reuse base classes such as ListView.