diff --git a/django/contrib/admin/actions.py b/django/contrib/admin/actions.py index d35319435d..86edb0adfd 100644 --- a/django/contrib/admin/actions.py +++ b/django/contrib/admin/actions.py @@ -12,6 +12,10 @@ from django.utils.html import escape from django.utils.safestring import mark_safe from django.utils.text import capfirst from django.utils.translation import ugettext_lazy, ugettext as _ +try: + set +except NameError: + from sets import Set as set # Python 2.3 fallback def delete_selected(modeladmin, request, queryset): """