diff options
Diffstat (limited to 'django/newforms/widgets.py')
| -rw-r--r-- | django/newforms/widgets.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/django/newforms/widgets.py b/django/newforms/widgets.py index 6ee3177a25..b0c9a70f57 100644 --- a/django/newforms/widgets.py +++ b/django/newforms/widgets.py @@ -3,9 +3,10 @@ HTML Widget classes """ try: - set # Only available in Python 2.4+ + set except NameError: - from sets import Set as set # Python 2.3 fallback + from sets import Set as set # Python 2.3 fallback + from itertools import chain from django.utils.datastructures import MultiValueDict |
