From eecde7ffaaafd2062c8d330b65c4c2eafab0aabc Mon Sep 17 00:00:00 2001 From: sergio_gimenez Date: Tue, 29 Oct 2024 08:23:43 +0100 Subject: [PATCH] This retrieves evidences in details view --- device/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/device/views.py b/device/views.py index 3eede36..eda5249 100644 --- a/device/views.py +++ b/device/views.py @@ -101,6 +101,7 @@ class DetailsView(DashboardView, TemplateView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) + self.object.initial() lot_tags = LotTag.objects.filter(owner=self.request.user.institution) context.update({ 'object': self.object,