diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-01-23 04:33:27 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-23 07:33:27 -0500 |
| commit | ecd5944666558bbb3a12b0aa0058685a81ce7162 (patch) | |
| tree | 5a62c988006f726acad9363208884cec48e446a4 | |
| parent | 8377a98ca5a9d51f6cf705d75276cb0380fffad6 (diff) | |
Removed ChoiceWidget.render() as it duplicates parent implementation.
| -rw-r--r-- | django/forms/widgets.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index a8760623d2..5e6eddaf91 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -539,10 +539,6 @@ class ChoiceWidget(Widget): for option in self.options(name, value, attrs): yield option - def render(self, name, value, attrs=None, renderer=None): - context = self.get_context(name, value, attrs) - return self._render(self.template_name, context, renderer) - def options(self, name, value, attrs=None): """Yield a flat list of options for this widgets.""" for group in self.optgroups(name, value, attrs): |
