summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-04 23:09:09 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-04 23:09:09 +0100
commited15c5b8c0664b75c0d3cf93d55e4ed1fdd5a533 (patch)
tree083e3300177ec3983d4a0ac5e1f48fc3a0821168 /ishtar_common/widgets.py
parent5e7ea0eb7b2d3b222d91e170b1b3764813b4e036 (diff)
downloadIshtar-ed15c5b8c0664b75c0d3cf93d55e4ed1fdd5a533.tar.bz2
Ishtar-ed15c5b8c0664b75c0d3cf93d55e4ed1fdd5a533.zip
Fix export types whit new formater model behavior
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index 020eca5af..597fb2764 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -657,7 +657,7 @@ class JQueryJqGrid(forms.RadioSelect):
self.associated_model.__module__,
self.associated_model.__name__)
for imp in models.ImporterType.objects.filter(
- slug__isnull=False, associated_models=model_name,
+ slug__isnull=False, associated_models__klass=model_name,
is_template=True).all():
dct['extra_sources'].append((
imp.slug, imp.name,