| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-06-04 | Fixed #30134 -- Ensured unlocalized numbers are string representation in ↵ | Claude Paroz | |
| templates. | |||
| 2018-07-19 | Fixed #29578 -- Made numberformat.format() honor forced l10n usage. | Claude Paroz | |
| Thanks Sassan Haradji for the report. | |||
| 2017-10-22 | Refs #14807 -- Removed unneeded mark_safe call | Claude Paroz | |
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-04-07 | Fixed #22654 -- Broken decimal validation | Raphael Michel | |
| 2017-02-11 | Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2016-12-21 | Fixed #25753 -- Made get_format() cache the formats from Django settings | Jaap Roes | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-02-09 | Fixed #26173 -- Prevented localize_input() from formatting booleans as numbers. | Marcin Markiewicz | |
| 2016-01-05 | Replaced dict.setdefault() usage to avoid unnecessary object instantiations. | Benjamin Bach | |
| 2015-11-28 | Fixed #25812 -- Restored the ability to use custom formats with the date ↵ | Gagaro | |
| template filter. | |||
| 2015-11-24 | Fixed a settings leak possibility in the date template filter. | Florian Apolloner | |
| This is a security fix. | |||
| 2015-11-12 | Fixed #25743 -- Optimized utils.localize() and localize_input() | Jaap Roes | |
| Bail early if the input is a string since that's the most common case. | |||
| 2015-02-09 | Removed some obsolete absolute_imports. | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2014-09-29 | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | |
| Thanks Collin Anderson for the review. | |||
| 2014-08-18 | Fixed #22171 -- Improved sanitize_separators cleverness | Claude Paroz | |
| Thanks Klaas van Schelven for the report and Tim Graham for the review. | |||
| 2014-05-21 | Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATH | Martin Brochhaus | |
| Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). A feature has been added to also allow a list of strings. This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module. | |||
| 2014-05-19 | Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of ↵ | Tim Graham | |
| modules." This reverts commit 950b6de16ac2f8135612f2ed5984c090dd8e4dcf. | |||
| 2014-05-19 | Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules. | Martin Brochhaus | |
| Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module. | |||
| 2013-11-02 | Correct flake8 E302 violations | Ray Ashman Jr | |
| 2013-09-06 | Moved a settings usage up the stack in utils/formats.py #unsettings | Adrian Holovaty | |
| 2013-08-19 | Avoid importing the deprecated `django.utils.importlib` package. | Simon Charette | |
| 2013-07-29 | Deprecated django.utils.importlib | Claude Paroz | |
| This was a shim for pre-Python 2.7 support. | |||
| 2013-03-02 | Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATS | Claude Paroz | |
| Thanks minddust for the report. | |||
| 2013-02-15 | Improved input sanitizing with thousand separators | Claude Paroz | |
| For languages with non-breaking space as thousand separator, standard space input should also be allowed, as few people know how to enter non-breaking space on keyboards. Refs #17217. Thanks Alexey Boriskin for the report and initial patch. | |||
| 2012-12-01 | Fixed #19015 -- Add ISO input formats to all formats | Claude Paroz | |
| 2012-08-30 | Replaced some smart_xxx by force_xxx equivalent | Claude Paroz | |
| smart_str/smart_text should only be used when a potential lazy string should be preserved in the result of the function call. | |||
| 2012-07-22 | [py3] Replaced unicode/str by six.text_type/bytes. | Aymeric Augustin | |
| 2012-07-22 | [py3] Replaced basestring by six.string_types. | Aymeric Augustin | |
| 2012-07-22 | [py3] Removed longs. | Aymeric Augustin | |
| 2011-10-20 | Fixed 16938 -- Ensured that the active locale's formats take precedence over ↵ | Julien Phalip | |
| the default settings even if they would be interpreted as False in a conditional test (e.g. 0 or empty string). Thanks to pikerr for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17017 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-09-22 | Fixed #16909 -- Pass language to get_format_modules when calling it from ↵ | Jannis Leidel | |
| get_format to make sure the correct module is returned. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16884 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-09-08 | Fixed #16404 -- Fixed a regression in the localization changes in the ↵ | Jannis Leidel | |
| humanize app made in r16168. Thanks, grepsd@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16726 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-05-01 | Fixed #5714 -- Strip whitespaces around date and time form field values ↵ | Jannis Leidel | |
| before converting it to a native type. Thanks to SmileyChris for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16137 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-02-04 | Fixed #14824 -- Corrected the handling of formats when USE_L10N is disabled. ↵ | Russell Keith-Magee | |
| Thanks to nullie for the report and initial patch, and to idle for the separate report with helpful debug info. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15404 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-02-03 | Fixed stability of data input/output L10N format modules priority order. ↵ | Ramiro Morales | |
| Thanks tonnzor for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15402 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-01-13 | Fixed #15024 -- Ensure that choice of L10N format module used is stable ↵ | Ramiro Morales | |
| given a stable setup of format modules in ll/ and ll_CC/ dirs. Thanks David Reynolds for the report and suggestions leading to the solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15183 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-12-04 | Fixed #14807 -- Ensure that boolean values aren't localized as T.rue and ↵ | Russell Keith-Magee | |
| Fa.lse because of the thousand separator. Thanks to vanschelven for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14804 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-10-29 | Fixed #14181 -- Added a template tag and filters to allow localization to be ↵ | Russell Keith-Magee | |
| disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14395 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-09-27 | Fixed #14053 -- Also localize long integers. Thanks, David Danier. | Jannis Leidel | |
| git-svn-id: http://code.djangoproject.com/svn/django/trunk@13920 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-09-27 | Fixed #14290 -- Made format localization faster by caching the format ↵ | Jannis Leidel | |
| modules. Thanks, Teemu Kurppa and Anssi Kääriäinen for the report and initial patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13898 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-09-12 | Fixed #13702 -- Made sure to actually fall back to the l10n format strings ↵ | Jannis Leidel | |
| provided in the settings, when disabled. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13770 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-03-01 | Fixed #12779 - Sanitize numeric form field input according to decimal and ↵ | Jannis Leidel | |
| thousand separator settings. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12625 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-02-05 | Fixed #12777 - Localize decimal fields correctly. Thanks, Florian Apolloner | Jannis Leidel | |
| git-svn-id: http://code.djangoproject.com/svn/django/trunk@12382 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
