From 2ae9416836be2d8c3f8e27803b49a415f1202144 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 2 Dec 2021 17:05:24 +0100 Subject: Syndication - translate queries before passing them to external source --- ishtar_common/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/wizards.py') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 80054ca0c..5f3606a5e 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -121,7 +121,7 @@ class IshtarWizard(NamedUrlWizardView): ) if ( self.model - and hasattr(form, "field") + and hasattr(form, "fields") and "pk" in form.fields and self.request.session.get("EXTERNAL_SOURCES", {}) ): -- cgit v1.2.3