summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
AgeCommit message (Collapse)Author
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
2014-08-15Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.Tim Graham
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-11Added a warning that remove_tags() output shouldn't be considered safe.Tim Graham
2014-07-16Alphabetized django.utils sections.Corey Farwell
2014-07-01Fixed #22691 -- Added aliasing to cached_property.Curtis
2014-05-13Fixed #22618 -- Improved import_string example.Tim Graham
Thanks ewjoachim for the sugggestion.
2014-04-26Updated doc links to point to Python 3 documentationClaude Paroz
2014-04-23Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
2014-03-22Improved strip_tags and clarified documentationClaude Paroz
The fact that strip_tags cannot guarantee to really strip all non-safe HTML content was not clear enough. Also see: https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
2014-03-03Removed doc newlines added in previous commit that caused build errors.Tim Graham
2014-03-03Fixed some typos and formatting issues in docs.Rodolfo Carvalho
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-22Fixed #22120 -- Documented persistent activation of languages and cleaned up ↵Erik Romijn
language session key use
2014-02-08Fixed #21674 -- Deprecated the import_by_path() function in favor of ↵Berker Peksag
import_string(). Thanks Aymeric Augustin for the suggestion and review.
2013-11-08Added missing parameter in npgettext_lazy docsglts
2013-10-30Fixed #21316 -- Documented that modifying safe strings makes them unsafe.Tim Graham
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.
2013-10-29Mark this as a python code-blockAlex Gaynor
2013-09-20Fixed #20877 -- added a performance optimization guideevildmp
2013-09-09Fixed #17262 -- Refactored tzinfo implementations.Aymeric Augustin
This commit deprecates django.utils.tzinfo in favor of the more recent django.utils.timezone which was introduced when Django gained support for time zones.
2013-08-19Removed versionadded/changed annotations for 1.5Tim Graham
2013-08-08Added more on @cached_property, refs #20870Daniele Procida
2013-08-08Fixed #20870 -- Documented django.utils.functional.cached_propertyDaniele Procida
2013-08-04Deprecated SortedDict (replaced with collections.OrderedDict)Curtis Maloney
Thanks Loic Bistuer for the review.
2013-07-19Fixed #14656 -- Added Atom1Feed `published` elementMatt Deacalion Stevens
Some feed aggregators make use of the `published` element as well as the `updated` element (within the Atom standard -- http://bit.ly/2YySb). The standard allows for these two elements to be present in the same entry. `Atom1Feed` had implemented the `updated` element which was incorrectly taking the date from `pubdate`.
2013-07-18Atom specification URL updatedMatt Deacalion Stevens
Changed to the URL of the official RFC for Atom, since Atomenabled.org is just a holding page.
2013-07-05Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review.
2013-06-29More import removalsClaude Paroz
Following the series of commits removing deprecated features in Django 1.7, here are some more unneeded imports removed and other minor cleanups.
2013-06-28Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5.Ramiro Morales
2013-06-28Removed insert(), value_for_insert() SortedDict methods deprecated in Django ↵Ramiro Morales
1.5.
2013-06-26Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.Tim Graham
uid is now base64 encoded in password reset URLs/views. A backwards compatible password_reset_confirm view/URL will allow password reset links generated before this change to continue to work. This view will be removed in Django 1.7. Thanks jonash for the initial patch and claudep for the review.
2013-06-12Fixed #20591: added version in docs for utils.module_loading.import_by_path.Baptiste Darthenay
2013-06-06Explained that timezone.now() always returns times in UTC.Jacob Kaplan-Moss
The docs were ambiguous about the time zone for now(), leading people to assume that it would be the current time zone rather that UTC.
2013-05-23Fixed #19237 (again) - Made strip_tags consistent between Python versionsClaude Paroz
2013-05-16Make the example usage of import_by_path less confusing.Marc Tamlyn
Using import_by_path to import import_by_path is a really odd use case and makes the code example difficult to read.
2013-04-02Fixed #19748 - Documented django.utils.module_loading.import_by_pathTim Graham
2013-03-28Fixed #20146 -- Updated removed_tags exampleferhat elmas
2013-01-25Fixed #19577 - Added HTML escaping to admin examples.Tim Graham
Thanks foo@ for the report and Florian Apolloner for the review.