From 5d67b9f6da006fb52dc248d2be868adbe57ee70a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 21 Mar 2019 14:13:38 +0100 Subject: ImportLinkView: fix new formset kwargs --- ishtar_common/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ishtar_common/views.py') diff --git a/ishtar_common/views.py b/ishtar_common/views.py index 7fa69eb66..b2ced4295 100644 --- a/ishtar_common/views.py +++ b/ishtar_common/views.py @@ -1542,7 +1542,9 @@ class ImportLinkView(IshtarMixin, LoginRequiredMixin, ModelFormSetView): template_name = 'ishtar/formset_import_match.html' model = models.TargetKey page_name = _(u"Link unmatched items") - extra = 0 + factory_kwargs = { + 'extra': 0, + } form_class = forms.TargetKeyForm formset_class = forms.TargetKeyFormset -- cgit v1.2.3