django generic views detailview code example
Example: django detailview
class YourView(DetailView):
model = YourModel
template_name = 'your_template.html'
class YourView(DetailView):
model = YourModel
template_name = 'your_template.html'