From c7c6f0350fa4cb13d63a4d593a73349654a6cd77 Mon Sep 17 00:00:00 2001 From: korenstin Date: Wed, 31 Jul 2024 22:19:16 +0200 Subject: [PATCH] Looks unused --- apps/treasury/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/treasury/views.py b/apps/treasury/views.py index adf3cb33..89521368 100644 --- a/apps/treasury/views.py +++ b/apps/treasury/views.py @@ -251,9 +251,6 @@ class RemittanceCreateView(ProtectQuerysetMixin, ProtectedCreateView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) - context["table"] = RemittanceTable( - data=Remittance.objects.filter( - PermissionBackend.filter_queryset(self.request, Remittance, "view")).all()) context["special_transactions"] = SpecialTransactionTable(data=SpecialTransaction.objects.none()) return context