summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
AgeCommit message (Collapse)Author
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client.
2020-03-10Corrected learn_cache_key() signature in docs.Mariusz Felisiak
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991.
2020-03-10Corrected get_cache_key() signature in docs.Борис Верховский
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991 and cb17f7ca2252265ab4a844e7924cb8ebab4a1a76
2019-12-30Fixed #30892 -- Fixed slugify() and admin's URLify.js for "İ".Sjbrgsn
Thanks Luis Nell for the implementation idea and very detailed report. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-11-27Fixed #31029 -- Used more specific links to RFCs.Baptiste Mispelon
2019-11-27Fixed #30803 -- Allowed comma separators for milliseconds in ↵Farhaan Bukhsh
django.utils.dateparse functions. Co-Authored-By: Ben Wilber <benwilber@gmail.com>
2019-11-27Refs #30803 -- Allowed comma separators for decimal fractions in ↵Farhaan Bukhsh
parse_duration().
2019-10-30Refs #28428 -- Made filepath_to_uri() support pathlib.Path.Hasan Ramezani
2019-10-10Fixed #23755 -- Added support for multiple field names in the no-cache ↵Flavio Curella
Cache-Control directive to patch_cache_control(). https://tools.ietf.org/html/rfc7234#section-5.2.2.2
2019-09-27Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.Glenn
2019-09-10Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation ↵Mariusz Felisiak
timeline.
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-08-16Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according ↵Adnan Umer
to RFC 7231.
2019-06-26Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() ↵nsasaki128
decorator.
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵Jon Dufresne
html.escape()/unescape().
2019-03-30Refs #30278 -- Fixed link in cached_property docs.Tim Graham
2019-03-30Refs #30278 -- Doc'd behavior of del on an unaccessed cached_property.Matthew Schinckel
Thanks to Curtis Maloney for the description of the problem.
2019-02-14Refs #15902 -- Deprecated storing user's language in the session.Claude Paroz
2019-02-08Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ↵Jon Dufresne
ungettext(), and ungettext_lazy().
2019-02-06Refs #27753 -- Favored SafeString over SafeText.Tim Graham
2019-02-06Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text().Tim Graham
2019-02-06Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin
2019-02-05Refs #27753 -- Removed django.utils.six.Tim Graham
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-17Refs #28965 -- Removed utils.http.cookie_date() per deprecation timeline.Tim Graham
2019-01-17Removed versionadded/changed annotations for 2.1.Tim Graham
2018-11-19Fixed #29478 -- Added support for mangled names to cached_property.Thomas Grainger
Co-Authored-By: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2018-10-10Refs #27795 -- Removed force_bytes() usage from django/utils/http.py.Jon Dufresne
django.utils.http.urlsafe_base64_encode() now returns a string, not a bytestring. Since URLs are represented as strings, urlsafe_base64_encode() should return a string. All uses immediately decoded the bytestring to a string anyway. As the inverse operation, urlsafe_base64_decode() accepts a string.
2018-09-25Refs #29784 -- Normalized Python docs links to omit the version.Jon Dufresne
2018-09-18Made various edits to docs/ref/utils.txt.Adam Johnson
2018-07-18Fixed utils.html.escape()'s docs with regards to string coercion.Claude Paroz
As of 301de774c21d055e9e5a7073e5bffdb52bc71079.
2018-07-09Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset.Sergey Fedoseev
2018-07-09Refs #29478 -- Doc'd how to use cached_property with a mangled name.Sergey Fedoseev
2018-07-06Corrected cached_property() signature in docs.Sergey Fedoseev
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-02-23Fixed #27449 -- Added django.utils.translation.get_supported_language_variant().Sebastian Sangervasi
2018-01-02Refs #28965 -- Deprecated unused django.utils.http.cookie_date().Tim Graham
2017-12-20Refs #25181 -- Updated timezone.now() docs about obtaining the time in the ↵Sergey Fedoseev
current time zone.
2017-10-30Fixed 'a'/'an' mix-ups in docs.Ville Skyttä
2017-10-09Refs #23919 -- Corrected django.utils.http.urlencode()'s documented signature.François Freitag
Follow up to fee42fd99ee470528858c2ccb3621135c30ec262.
2017-09-22Removed versionadded/changed annotations for 1.11.Tim Graham
2017-09-22Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline.Tim Graham
2017-09-22Refs #27067 -- Removed django.utils.translation.string_concat() per ↵Tim Graham
deprecation timeline.
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-08-16Removed unused reference in docs/ref/utils.txt.Sergey Fedoseev
Unused since f6acd1d271122d66de8061e75ae26137ddf02658.
2017-08-11Made the @cached_property example more consistent.Bryan Helmig
2017-07-03Fixed #28076 -- Added support for PostgreSQL's interval format to ↵Matthew Schinckel
parse_duration().
2017-05-22Updated various links in docs to avoid redirectsClaude Paroz
Thanks Tim Graham and Mariusz Felisiak for review and completion.