django detail function 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'