| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-07-09 | Simplified force_bytes(). | Sergey Fedoseev | |
| 2017-10-31 | Refs #23919 -- Updated references to urllib.quote() to Python 3 location. | Ville Skyttä | |
| 2017-02-11 | Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-02-09 | Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri(). | Chronial | |
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-02-03 | Refs #23919 -- Removed a Python 2 code path in force_text(). | Tim Graham | |
| Reverted the obsolete fix and tests for refs #12302. | |||
| 2017-02-03 | Removed an untested and broken branch in force_bytes() (refs #6353). | Tim Graham | |
| The new test crashed in the removed branch. It's unclear if the branch has value since c6a2bd9b962af1cdf46f964589e6023046cfa8ec didn't include tests. | |||
| 2017-02-03 | Used super() in DjangoUnicodeDecodeError. | Tim Graham | |
| 2017-01-31 | Refs #23919 -- Removed unneeded code in force_text(). | Vytis Banaitis | |
| Unneeded since 7b2f2e74adb36a4334e83130f6abc2f79d395235. | |||
| 2017-01-30 | Refs #23919 -- Removed usage of obsolete SafeBytes class | Claude Paroz | |
| The class will be removed as part of #27753. Thanks Tim Graham for the review. | |||
| 2017-01-26 | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | |
| 2017-01-23 | Assumed iri_to_uri always returns a string | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2015-11-03 | Fixed #25668 -- Misc spelling errors | Ville Skyttä | |
| 2015-06-05 | Fixed #24927 -- Used python_2_unicode_compatible from six | Matthew Somerville | |
| 2015-05-27 | Fixed #24836 -- Made force_text() resolve lazy objects. | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-11-03 | Fixed #18456 -- Added path escaping to HttpRequest.get_full_path(). | Unai Zalakain | |
| 2014-10-16 | Fixed #19508 -- Implemented uri_to_iri as per RFC. | Anubhav Joshi | |
| Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review. | |||
| 2014-06-07 | Optimize is_protected_type slightly (used by force_text, which is used ↵ | Alex Gaynor | |
| basically everywhere) | |||
| 2013-11-02 | Correct flake8 E302 violations | Ray Ashman Jr | |
| 2013-11-02 | More attacking E302 violators | Alex Gaynor | |
| 2013-10-13 | Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible. | Aymeric Augustin | |
| Thanks jpic for the report and chmodas for working on a patch. Reverts 2ea80b94. Refs #19362. | |||
| 2013-09-22 | Removed a few trailing backslashes. | Aymeric Augustin | |
| We have always been at war with trailing backslashes. | |||
| 2013-09-06 | Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type. | Florian Apolloner | |
| 2013-09-06 | Fixed #21052 -- Small performance optimization. | Aymeric Augustin | |
| 2013-09-06 | Fixed #18719 -- Made force_bytes more consistent with force_text. | Aymeric Augustin | |
| 2013-09-05 | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | |
| 2013-09-02 | Replaced "not PY3" by "PY2", new in six 1.4.0. | Aymeric Augustin | |
| 2013-06-28 | Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5. | Ramiro Morales | |
| 2013-03-22 | Fixed #20108 -- Fixed filepath_to_uri decoding error | Claude Paroz | |
| This was a regression due to unicode_literals usage. Thanks Ivan Virabyan for the report and the initial patch. | |||
| 2013-03-02 | Fixed getting default encoding in get_system_username | Claude Paroz | |
| Refs #19933. | |||
| 2013-03-02 | Added support for serializing BinaryField | Claude Paroz | |
| 2012-12-29 | Advanced pending deprecation warnings. | Aymeric Augustin | |
| Also added stacklevel argument, fixed #18127. | |||
| 2012-12-16 | Fixed #18718 - Documented django.utils.encoding.filepath_to_uri | Tim Graham | |
| 2012-10-24 | Remove a case that is no longer reachable in encodings.py. | Alex Gaynor | |
| This case was originally designed to handle Exception's which didn't gracefully support coercing themselves to unicode. However, because it lives in the `else` case of `if hasattr(s, '__unicode__'):` we can be sure it's no longer reachable in djanog anymore, because since Python 2.5 exception has subclassed object, which means Exception objects always have an __unicode__ method. | |||
| 2012-09-04 | Fixed #18902 -- Made force_bytes properly handle exception input | Claude Paroz | |
| Thanks Aymeric Augustin for the report and the initial patch. | |||
| 2012-08-29 | Replaced many smart_bytes by force_bytes | Claude Paroz | |
| In all those occurrences, we didn't care about preserving the lazy status of the strings, but we really wanted to obtain a real bytestring. | |||
| 2012-08-18 | Introduced force_bytes and force_str. | Aymeric Augustin | |
| This is consistent with the smart_* series of functions and it's going to be used by the next commit. | |||
| 2012-08-18 | [py3] Ported django.utils.safestring. | Aymeric Augustin | |
| Backwards compatibility aliases were created under Python 2. | |||
| 2012-08-14 | [py3] Fixed staticfiles tests | Claude Paroz | |
| 2012-08-12 | [py3] Deprecated StrAndUnicode. | Aymeric Augustin | |
| This mix-in is superseded by the @python_2_unicode_compatible decorator. | |||
| 2012-08-12 | [py3] Added python_2_unicode_compatible decorator. | Aymeric Augustin | |
| 2012-08-07 | [py3] Ported django.utils.encoding. | Aymeric Augustin | |
| * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str. | |||
