diff options
Diffstat (limited to 'django/forms/widgets.py')
| -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 d4964b0bc6..8b036bacd2 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -41,7 +41,7 @@ class Media(StrAndUnicode): # Any leftover attributes must be invalid. # if media_attrs != {}: - # raise TypeError, "'class Media' has invalid attribute(s): %s" % ','.join(media_attrs.keys()) + # raise TypeError("'class Media' has invalid attribute(s): %s" % ','.join(media_attrs.keys())) def __unicode__(self): return self.render() |
