Skip to content
Browse files

Fixed #10997: fixed a Python 2.4-ism in admin actions.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 60cfd45 commit eaf8ec54d2f9aed4f66c1c596a8eef3bc85c879c @jacobian jacobian committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 django/contrib/admin/
4 django/contrib/admin/
@@ -12,6 +12,10 @@
from django.utils.safestring import mark_safe
from django.utils.text import capfirst
from django.utils.translation import ugettext_lazy, ugettext as _
+ set
+except NameError:
+ from sets import Set as set # Python 2.3 fallback
def delete_selected(modeladmin, request, queryset):

0 comments on commit eaf8ec5

Please sign in to comment.
Something went wrong with that request. Please try again.