Changes between Initial Version and Version 1 of Ticket #11294, comment 6


Ignore:
Timestamp:
Jun 6, 2013, 4:34:51 PM (11 years ago)
Author:
Tomek Paczkowski

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11294, comment 6

    initial v1  
    11The problem here is two folds:
    22
    3 1. By default, admin will not localize input values. Not localized input is rendered as `str(value)`, which is `Decimal.__str__`. List display uses `display_for_field`, which localizes value if I18N is on.
     31. By default, admin will not localize input values. Not localized input is rendered as `str(value)`, which is `Decimal.__str__`. List display uses `display_for_field`, which localizes value if `USE_L10N` is true.
    442. When forced to localize (by settings `ModelForm._opts.localized_fields = '__all__'`), decimal input still does not honour `DecimalField.decimal_places` and is displayed differently from list.
    55
Back to Top