django genertic settings code example Example: django display view library from django.views.generic.detail import DetailView