Ticket #4315: unicode-admin.diff

File unicode-admin.diff, 905 bytes (added by anonymous, 17 years ago)
  • contrib/admin/views/main.py

     
    1212from django.http import Http404, HttpResponse, HttpResponseRedirect
    1313from django.utils.html import escape
    1414from django.utils.text import capfirst, get_text_list
    15 from django.utils.encoding import smart_unicode
     15from django.utils.encoding import smart_unicode, smart_str
    1616from django.utils.translation import ugettext as _
    1717import operator
    1818
Back to Top