summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-09 20:06:04 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-09 20:06:04 +0200
commit98be0595e88ba57e90793729a24e39b865a0695e (patch)
treee56ef03b1e10781afb29039bfad06a977bf9ddf2 /ishtar_common/widgets.py
parent2d26023da0bc0929e748f3fa13deac12479003b9 (diff)
downloadIshtar-98be0595e88ba57e90793729a24e39b865a0695e.tar.bz2
Ishtar-98be0595e88ba57e90793729a24e39b865a0695e.zip
Manage hierarchical display with select2
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 94709406c..b0f28a6cf 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -118,7 +118,7 @@ class Select2Multiple(forms.SelectMultiple):
try:
choices.append((v, self.model.objects.get(pk=v)))
except (self.model.DoesNotExist, ValueError):
- # an old reference ? it should not happen
+ # an old reference? it should not happen
pass
html = super(Select2Multiple, self).render(name, value, attrs,
choices)