summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-12-02 17:05:24 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commit6a8227aee2c9df90d96510d71a3fd68d1e727e4c (patch)
treee142adcdc5c488f4947a3eca57fd05e404fa28b0 /ishtar_common/wizards.py
parent5751e4460ea76de750817e8de6767ab81db2fe8c (diff)
downloadIshtar-6a8227aee2c9df90d96510d71a3fd68d1e727e4c.tar.bz2
Ishtar-6a8227aee2c9df90d96510d71a3fd68d1e727e4c.zip
Syndication - translate queries before passing them to external source
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py2
1 files changed, 1 insertions, 1 deletions
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", {})
):