I am just curious that which one is better django's Class Based View or Functional view and why.
I personally feel functional view is quiet easy but its lengthy and class based view can work with few lines of code.
Is there any performance issue with these views?
Can anyone guide me why to use django's CBV ? On later day will functional view be depriciated?
Thank you
Class Based View and Functional View both has their use cases. None is better. It's completely depends on you, how you are using it. Performance difference between CBV and FV is negligible. Still now there is no possibility of CBV or FV will get deprecated. This has been discussed in lots of places including SO and reddit.