detail page as_view detail viewdjango 3 code example Example: django display view library from django.views.generic.detail import DetailView