From 98be0595e88ba57e90793729a24e39b865a0695e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 9 Apr 2017 20:06:04 +0200 Subject: Manage hierarchical display with select2 --- ishtar_common/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/widgets.py') 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) -- cgit v1.2.3