From 3c55c991ad8e9df4badcf84b0158edf62d91e6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= Date: Mon, 26 Nov 2012 17:07:03 +0100 Subject: [PATCH 1/5] Removed useless intermediate function --- django_select2/widgets.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/django_select2/widgets.py b/django_select2/widgets.py index b0f813bf..95c920a8 100644 --- a/django_select2/widgets.py +++ b/django_select2/widgets.py @@ -143,15 +143,6 @@ def get_options(self): options['allowClear'] = not self.is_required return options - def render_select2_options_code(self, options, id_): - """ - Renders options for Select2 JS. - - :return: The rendered JS code. - :rtype: :py:obj:`unicode` - """ - return convert_dict_to_js_map(options, id_) - def render_js_code(self, id_, *args): """ Renders the ``