get_object detailview django 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'