diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/formats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/formats.py b/django/utils/formats.py index 3cb0c0420c..aaf1c2ddd5 100644 --- a/django/utils/formats.py +++ b/django/utils/formats.py @@ -240,7 +240,7 @@ def sanitize_separators(value): Sanitize a value according to the current decimal and thousand separator setting. Used with form field input. """ - if settings.USE_L10N and isinstance(value, str): + if isinstance(value, str): parts = [] decimal_separator = get_format('DECIMAL_SEPARATOR') if decimal_separator in value: |
