cannot import DetailView from generics code example Example: django display view library from django.views.generic.detail import DetailView