Loading django/forms/widgets.py +2 −2 Original line number Diff line number Diff line Loading @@ -438,7 +438,7 @@ class Select(Widget): options = self.render_options(choices, [value]) if options: output.append(options) output.append('</select>') output.append(u'</select>') return mark_safe(u'\n'.join(output)) def render_options(self, choices, selected_choices): Loading Loading
django/forms/widgets.py +2 −2 Original line number Diff line number Diff line Loading @@ -438,7 +438,7 @@ class Select(Widget): options = self.render_options(choices, [value]) if options: output.append(options) output.append('</select>') output.append(u'</select>') return mark_safe(u'\n'.join(output)) def render_options(self, choices, selected_choices): Loading