django detailview template code example Example: django display view library from django.views.generic.detail import DetailView