That was really not that helpful. Classed Based Views (CBV) use a lot of defaults for populating your templates, forms and views. You can inherit and extend CBV's to add the functionality that you require. You could have a base class that uses all of the same default functionality and then just adds different templates depending on which view should be used. You could also add other functionality depending on what is required for a certain url.
You also can group the different methods used for a view in one class - and disallow what you don't want. A function based view is only one function that then renders the template - however you cannot overload and add functionality in other parts. See here : https://simpleisbetterthancomplex.com/article/2017/03/21/class-based-views-vs-function-based-views.html I think the CBV's are really good for adding and overloading functionality and prefer them - however I know that people who have used Django for a long time prefer Function Based Views. Regards, Andréas Den ons 21 nov. 2018 kl 18:30 skrev TimT Vogt <timtv...@gmail.com>: > You build webapps with functions > And functions You combine in classes > So the function can be re used Inside your application > > Verstuurd vanaf mijn iPhone > > Op 21 nov. 2018 om 18:26 heeft Gear Crew <mohamed.khaled33...@gmail.com> > het volgende geschreven: > > what is difference between class based view and function based view and > which I choose to build full website > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5d823971-6ccc-4b44-a830-9ba96d477d5b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5d823971-6ccc-4b44-a830-9ba96d477d5b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/2F8CE8C2-D5E2-409D-9FD3-50DEDE259383%40gmail.com > <https://groups.google.com/d/msgid/django-users/2F8CE8C2-D5E2-409D-9FD3-50DEDE259383%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCeQc_9Qi%3DzKhsgZTvshsyFzOYNx2PJOP-CE2WN-a9st7w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.