Changes between Initial Version and Version 1 of Ticket #12966


Ignore:
Timestamp:
Feb 28, 2010, 1:11:05 PM (15 years ago)
Author:
Ramiro Morales
Comment:

(formatted description, unticket has_patch)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12966

    • Property Has patch unset
  • Ticket #12966 – Description

    initial v1  
    11contrib/admin/options.py:
     2{{{
    23                    change_message.append(_('Added %(name)s "%(object)s".')
    34                                          % {'name': added_object._meta.verbose_name,
     
    1213                                          % {'name': deleted_object._meta.verbose_name,
    1314                                             '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
     17Inline 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{{{
    1519'name': force_unicode(changed_object._meta.verbose_name),
     20}}}
Back to Top