diff --git a/cof_clubs/views.py b/cof_clubs/views.py index f62e50ae..e8704a5a 100644 --- a/cof_clubs/views.py +++ b/cof_clubs/views.py @@ -224,6 +224,11 @@ class BudgetLineMassCreate(BuroRequiredMixin, FormView): success_url = reverse_lazy("cof_clubs:club-list") + def get_form_kwargs(self): + kwargs = super().get_form_kwargs() + kwargs["queryset"] = ClubBudgetLine.objects.none() + return kwargs + def get_common_form(self): kwargs = { "prefix": "common",