Changes between Initial Version and Version 1 of Ticket #12966
- Timestamp:
- Feb 28, 2010, 1:11:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12966
- Property Has patch unset
-
Ticket #12966 – Description
initial v1 1 1 contrib/admin/options.py: 2 {{{ 2 3 change_message.append(_('Added %(name)s "%(object)s".') 3 4 % {'name': added_object._meta.verbose_name, … … 12 13 % {'name': deleted_object._meta.verbose_name, 13 14 'object': force_unicode(deleted_object)}) 14 Inline admin caught exception OrdinalNotInRange if XXX_object._meta.verbose_name is UTF-8 text. I have fix that wrapping XXX_object._meta.verbose_name with force_unicode function: 15 }}} 16 17 Inline admin caught exception !OrdinalNotInRange if `XXX_object._meta.verbose_nam`e is UTF-8 text. I have fix that wrapping `XXX_object._meta.verbose_name` with `force_unicode` function: 18 {{{ 15 19 'name': force_unicode(changed_object._meta.verbose_name), 20 }}}