summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-30 12:10:35 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commitf97c4a6df252a07e93076f77e46dbf3eee624ce3 (patch)
treef571ef9e56ad8237ea0e64867dc7660fd5c45b9c
parentcfff8c444eef90d04b2ff52757ecd39d98ca79f4 (diff)
downloadIshtar-f97c4a6df252a07e93076f77e46dbf3eee624ce3.tar.bz2
Ishtar-f97c4a6df252a07e93076f77e46dbf3eee624ce3.zip
Fix wizard formset
-rw-r--r--ishtar_common/wizards.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 34ed05e13..80054ca0c 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -121,6 +121,7 @@ class IshtarWizard(NamedUrlWizardView):
)
if (
self.model
+ and hasattr(form, "field")
and "pk" in form.fields
and self.request.session.get("EXTERNAL_SOURCES", {})
):