diff options
Diffstat (limited to 'django/forms')
| -rw-r--r-- | django/forms/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 26f8d312e4..ea701bdcf9 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -190,7 +190,7 @@ class Widget(six.with_metaclass(MediaDefiningClass)): The 'value' given is not guaranteed to be valid input, so subclass implementations should program defensively. """ - raise NotImplementedError + raise NotImplementedError('subclasses of Widget must provide a render() method') def build_attrs(self, extra_attrs=None, **kwargs): "Helper function for building an attribute dictionary." |
