summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index 157151413..82c0c0ac0 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -155,8 +155,8 @@ class JQueryAutoComplete(forms.TextInput):
attrs_select['value'] = val
if self.associated_model:
try:
- attrs_select['value'] = unicode(self.associated_model.\
-objects.get(pk=value))
+ attrs_select['value'] = unicode(
+ self.associated_model.objects.get(pk=value))
except:
attrs_select['value'] = ""
if not self.attrs.has_key('id'):