Ticket #5045: admin-quote_unicode.patch
File admin-quote_unicode.patch, 506 bytes (added by , 17 years ago) |
---|
-
trunk/django/contrib/admin/views/main.py
56 56 quoting is slightly different so that it doesn't get automatically 57 57 unquoted by the Web browser. 58 58 """ 59 if type(s) != type(''):59 if not isinstance(s, basestring): 60 60 return s 61 61 res = list(s) 62 62 for i in range(len(res)):