Learning Django in Python Working with class based view in Django to keep Django view more clean
Over time you will see to keep the view in a function its working fine somtimes, but to keep it in class will give you more power to control your Django view when your view is class based in Django