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