While working with Django, you will notice that there are certain types of views that are always needed regardless of the project you are working on. For this reason, Django comes with a set of views that can be used in any project. These views are known as generic views and we actually used one of them in a previous chapter. Remember the
direct_to_template view that renders a template into a page? This view is one example of generic views.
Django offers generic views for the following purposes: