python django class based view and functional view -


i curious 1 better django's class based view or functional view , why.

i feel functional view quiet easy lengthy , class based view can work few lines of code.

is there performance issue these views?

can guide me why use django's cbv ? on later day functional view depriciated?

thank you

class based view , functional view both has use cases. none better. it's depends on you, how using it. performance difference between cbv , fv negligible. still there no possibility of cbv or fv deprecated. has been discussed in lots of places including so , reddit.


Comments