syntax to define class base view in template code example
Example: import generic
from django.views.generic import (
CreateView,
ListView,
DetailView,
UpdateView,
DeleteView,
TemplateView,
)
from django.views.generic import (
CreateView,
ListView,
DetailView,
UpdateView,
DeleteView,
TemplateView,
)