This retrieves evidences in details view

This commit is contained in:
sergio_gimenez 2024-10-29 08:23:43 +01:00
parent cbfee93120
commit eecde7ffaa
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ class DetailsView(DashboardView, TemplateView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
self.object.initial()
lot_tags = LotTag.objects.filter(owner=self.request.user.institution) lot_tags = LotTag.objects.filter(owner=self.request.user.institution)
context.update({ context.update({
'object': self.object, 'object': self.object,