diff options
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 |
commit | 2ae9416836be2d8c3f8e27803b49a415f1202144 (patch) | |
tree | e142adcdc5c488f4947a3eca57fd05e404fa28b0 /ishtar_common/wizards.py | |
parent | 1a4606529b2a67ffc21f299fe218492888a5347d (diff) | |
download | Ishtar-2ae9416836be2d8c3f8e27803b49a415f1202144.tar.bz2 Ishtar-2ae9416836be2d8c3f8e27803b49a415f1202144.zip |
Syndication - translate queries before passing them to external source
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 2 |
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", {}) ): |