django 3 detail view 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'