summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
AgeCommit message (Collapse)Author
2017-01-02Removed obsolete versionadded/changed annotations.Tim Graham
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-10Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ↵Denis Cornehl
ConditionalGetMiddleware.
2016-09-28Fixed #27226 -- Removed patch_response_headers()'s setting of the ↵Rinat Khabibiev
Last-Modified header.
2016-08-31Fixed #25181 -- Added localdate() function to get date in a different time zone.Jon Dufresne
Thanks Konrad Świat for the original patch.
2016-08-25Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().Mattias Loverot
2016-08-24Fixed #26866 -- Added format_lazy functionMattias Loverot
Added format_lazy function to django.utils.text module. Useful when dealing with relative complex lazy string concatenations (e.g. in urls.py when translating urls in regular expressions).
2016-06-07Fixed #10107 -- Allowed using mark_safe() as a decorator.Scott Vitale
Thanks ArcTanSusan for the initial patch.
2016-05-30Fixed #26653 -- Made SyndicationFeed.latest_post_date() return time in UTC.Ketan Bhatt
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-14Refs #26021 -- Used hanging indentation in some doc examples.Tim Graham
2016-05-10Fixed #24046 -- Deprecated the "escape" half of utils.safestring.Tim Graham
2016-05-08Fixed #26483 -- Updated docs.python.org links to use Intersphinx.Tim Graham
2016-05-03Fixed #26567 -- Updated references to obsolete RFC2616.Vasiliy Faronov
Didn't touch comments where it wasn't obvious that the code adhered to the newer standard.
2016-03-13Fixed typos in docs.Jakub Wilk
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2015-12-24Refs #13008 -- Forwardported 1.8.8 release note.Tim Graham
Forwardport of b51086d57313e7ea857f4b96b62d25e600ee0a8d from stable/1.8.x
2015-12-12Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().Iacopo Spalletti
Thanks to bmispelon and uruz for the initial patch.
2015-12-01Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
2015-10-07Added some function links in translation docsClaude Paroz
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-23Refs #23269 -- Removed the removetags template tag and related functions per ↵Tim Graham
deprecation timeline.
2015-09-18Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.fabrizio ettore messina
2015-09-18Fixed #13110 -- Added support for multiple enclosures in Atom feeds.Unai Zalakain
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is then used by the feed builder. If the feed is a RSS feed, an exception is raised as RSS feeds don't allow multiple enclosures per feed item. The ``item_enclosures`` hook defaults to an empty list or, if the ``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure`` built from the ``item_enclosure_url``, ``item_enclosure_length``, and ``item_enclosure_mime_type`` hooks.
2015-08-18Used consistent capitalization and hyphenation of "class-based views" in docs.Anton Strogonoff
2015-08-01Fixed #25146 -- Allowed method_decorator() to decorate classes.Rigel Di Scala
2015-07-27Fixed #25159 -- Removed brackets from class/function/method signatures in docs.Tim Graham
Thanks hellbeast for the initial patch.
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-04-28Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.Markus Bertheau
2015-04-24Fixed #22598 -- Allowed make_aware() to work with ambiguous datetimeJosh Smeaton
2015-03-27Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert
templates.
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-18Removed utils.module_loading.import_by_path() per deprecation timeline; refs ↵Tim Graham
#21674.
2015-01-17Removed django.utils.tzinfo per deprecation timeline; refs #17262.Tim Graham
2015-01-17Documented django.utils.timezone.FixedOffset; thanks Aymeric.Tim Graham
2015-01-17Removed django.utils.datastructures.SortedDict per deprecation timeline.Tim Graham
2015-01-15Direct readers to format_html() in mark_safe() docs.Luke Plant
2015-01-08Fixed #24073 -- Returned None for get_language when translations are deactivatedClaude Paroz
This fixes a regression caused by f7c287fca9. Thanks Markus Holtermann for identifying the regression.
2014-12-20Fixed #2443 -- Added DurationField.Marc Tamlyn
A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
2014-12-19Used https for most *.python.org linksClaude Paroz
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-11-03Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().Unai Zalakain
2014-10-30Fixed #23558 -- documented slugify limitationsDavid Hoffman
2014-10-20Fixed #23668 -- Changed make_aware() and make_naive() to use the current ↵Jon Dufresne
timezone by default Thanks Aymeric Augustin for review.
2014-10-19Fixed a typo in urlencode documentation.wrwrwr
2014-10-16Fixed #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-08-31Fixed #23388 -- Made django.utils.timezone.override usable as a decoratorThomas Chaumeny
2014-08-29Documented translation.override as a decorator.Simon Charette
refs #23323.
2014-08-19Removed unnecessary code-block directives.areski