Ticket #10997: 10997.diff

File 10997.diff, 546 bytes (added by Joey Wilhelm, 16 years ago)

Simple enough patch. Shouldn't be any docs/tests required. Pulled this straight from options.py

  • django/contrib/admin/actions.py

     
    1212from django.utils.safestring import mark_safe
    1313from django.utils.text import capfirst
    1414from django.utils.translation import ugettext_lazy, ugettext as _
     15try:
     16    set
     17except NameError:
     18    from sets import Set as set     # Python 2.3 fallback
    1519
    1620def delete_selected(modeladmin, request, queryset):
    1721    """
Back to Top