summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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", {})
):