Changes between Initial Version and Version 1 of Ticket #30134, comment 4


Ignore:
Timestamp:
Jan 26, 2019, 5:36:30 AM (5 years ago)
Author:
Sassan Haradji

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30134, comment 4

    initial v1  
    33When `DECIMAL_SEPARATOR` is manually set in settings, `localize off` has no effect on it, look at this comment copied from line 117 of `django/utils/formats.py`:
    44
    5 ```
     5
    66    # The requested format_type has not been cached yet. Try to find it in any
    77    # of the format_modules for the given lang if l10n is enabled. If it's not
    88    # there or if l10n is disabled, fall back to the project settings.
    9 ```
     9
    1010fall back to the project settings, means falling back to `DECIMAL_SEPARATOR` (and other settings in its family). But just cause I set a custom value for `DECIMAL_SEPARATOR` doesn't mean gis should break on my django admin.
Back to Top