Changing way to call class based view