summaryrefslogtreecommitdiff
path: root/django/utils/encoding.py
Commit message (Expand)AuthorAgeFilesLines
* Refs #34233 -- Used types.NoneType.Nick Pope2023-01-181-1/+2
* Updated documentation and comments for RFC updates.Nick Pope2022-11-101-10/+9
* Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale().Mariusz Felisiak2022-03-081-2/+2
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-22/+31
* Fixed typos in comments and docs.David Sanders2021-05-291-1/+1
* Refs #27753 -- Removed django.utils.encoding.force_text() and smart_text() pe...Mariusz Felisiak2021-01-141-18/+0
* Capitalized Unicode in docs, strings, and comments.Jon Dufresne2020-04-201-1/+1
* Refs #28428 -- Made filepath_to_uri() support pathlib.Path.Hasan Ramezani2019-10-301-1/+1
* Refs #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri().Jon Dufresne2019-08-281-1/+1
* Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.enc...Florian Apolloner2019-08-011-7/+10
* Refs #30608 -- Added django.utils.encoding.punycode().Mariusz Felisiak2019-07-031-0/+5
* Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text().Tim Graham2019-02-061-2/+16
* Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin2019-02-061-17/+7
* Refs #27753 -- Removed django.utils.six.Tim Graham2019-02-051-5/+0
* Simplified force_bytes().Sergey Fedoseev2018-07-091-4/+1
* Refs #23919 -- Updated references to urllib.quote() to Python 3 location.Ville Skyttä2017-10-311-2/+2
* Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan2017-02-111-14/+11
* Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri().Chronial2017-02-091-4/+41
* Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham2017-02-091-2/+2
* Refs #23919 -- Removed a Python 2 code path in force_text().Tim Graham2017-02-031-10/+1
* Removed an untested and broken branch in force_bytes() (refs #6353).Tim Graham2017-02-031-12/+1
* Used super() in DjangoUnicodeDecodeError.Tim Graham2017-02-031-3/+2
* Refs #23919 -- Removed unneeded code in force_text().Vytis Banaitis2017-01-311-6/+3
* Refs #23919 -- Removed usage of obsolete SafeBytes classClaude Paroz2017-01-301-9/+4
* Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis2017-01-261-6/+6
* Assumed iri_to_uri always returns a stringClaude Paroz2017-01-231-7/+9
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-2/+1
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-12/+12
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-26/+9
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-3/+0
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+2
* Fixed E128 flake8 warnings in django/.Tim Graham2016-04-081-4/+4
* Fixed #25668 -- Misc spelling errorsVille Skyttä2015-11-031-1/+1
* Fixed #24927 -- Used python_2_unicode_compatible from sixMatthew Somerville2015-06-051-16/+2
* Fixed #24836 -- Made force_text() resolve lazy objects.Tim Graham2015-05-271-2/+2
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+3
* Fixed #23968 -- Replaced list comprehension with generators and dict comprehe...Jon Dufresne2014-12-081-4/+4
* Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().Unai Zalakain2014-11-031-0/+17
* Fixed #19508 -- Implemented uri_to_iri as per RFC.Anubhav Joshi2014-10-161-2/+39
* Optimize is_protected_type slightly (used by force_text, which is used basica...Alex Gaynor2014-06-071-2/+5
* Correct flake8 E302 violationsRay Ashman Jr2013-11-021-0/+7
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+2
* Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.Aymeric Augustin2013-10-131-0/+4
* Removed a few trailing backslashes.Aymeric Augustin2013-09-221-2/+2
* Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.Florian Apolloner2013-09-061-9/+8
* Fixed #21052 -- Small performance optimization.Aymeric Augustin2013-09-061-4/+4
* Fixed #18719 -- Made force_bytes more consistent with force_text.Aymeric Augustin2013-09-061-1/+1
* Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin2013-09-051-4/+1
* Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin2013-09-021-1/+1
* Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5.Ramiro Morales2013-06-281-24/+0