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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -