detail view code example
Example: detailview
class YourView(DetailView):
model = YourModel
template_name = 'your_model_detail.html'
class YourView(DetailView):
model = YourModel
template_name = 'your_model_detail.html'