diff options
| author | Tim Graham <timograham@gmail.com> | 2015-09-12 16:27:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-23 19:31:11 -0400 |
| commit | 54848a96dd4a196e81f3d71c61caf84ea8b49f4e (patch) | |
| tree | 0fe3e51fc3f783adc69c46bb0313514f207f71ab /docs/ref/utils.txt | |
| parent | 48e7787db599b0103daf70f0ff4968d90b8540aa (diff) | |
Removed versionadded/changed annotations for 1.8.
Diffstat (limited to 'docs/ref/utils.txt')
| -rw-r--r-- | docs/ref/utils.txt | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 6843c8c9ce..29564dddc4 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -138,8 +138,6 @@ The functions defined in this module share the following properties: .. function:: parse_duration(value) - .. versionadded:: 1.8 - Parses a string and returns a :class:`datetime.timedelta`. Expects data in the format ``"DD HH:MM:SS.uuuuuu"`` or as specified by ISO @@ -277,8 +275,6 @@ The functions defined in this module share the following properties: .. function:: uri_to_iri(uri) - .. versionadded:: 1.8 - Converts a Uniform Resource Identifier into an Internationalized Resource Identifier. @@ -301,8 +297,6 @@ The functions defined in this module share the following properties: .. function:: escape_uri_path(path) - .. versionadded:: 1.8 - Escapes the unsafe characters from the path portion of a Uniform Resource Identifier (URI). @@ -510,8 +504,6 @@ Atom1Feed database by some other process in the brief interval between subsequent invocations of a method on the same instance. - .. versionadded:: 1.8 - You can use the ``name`` argument to make cached properties of other methods. For example, if you had an expensive ``get_friends()`` method and wanted to allow calling it without retrieving the cached value, you could @@ -657,8 +649,6 @@ escaping HTML. .. function:: html_safe() - .. versionadded:: 1.8 - The ``__html__()`` method on a class helps non-Django templates detect classes whose output doesn't require HTML escaping. @@ -916,9 +906,7 @@ appropriate entities. ``None``, the :ref:`current time zone <default-current-time-zone>` is unset on entry with :func:`deactivate()` instead. - .. versionchanged:: 1.8 - - ``override`` is now usable as a function decorator. + ``override`` is also usable as a function decorator. .. function:: localtime(value, timezone=None) @@ -979,10 +967,6 @@ appropriate entities. ``is_dst`` has no effect when ``pytz`` is not installed. - .. versionchanged:: 1.8 - - In older versions of Django, ``timezone`` was a required argument. - .. versionchanged:: 1.9 The ``is_dst`` argument was added. @@ -994,10 +978,6 @@ appropriate entities. aware :class:`~datetime.datetime`. If ``timezone`` is set to ``None``, it defaults to the :ref:`current time zone <default-current-time-zone>`. - .. versionchanged:: 1.8 - - In older versions of Django, ``timezone`` was a required argument. - .. _pytz: http://pytz.sourceforge.net/ ``django.utils.translation`` @@ -1095,9 +1075,7 @@ For a complete discussion on the usage of the following see the is ``True``. If you pass ``None`` as the language argument, a ``NullTranslations()`` instance is activated within the context. - .. versionchanged:: 1.8 - - ``override`` is now usable as a function decorator. + ``override`` is also usable as a function decorator. .. function:: get_language() @@ -1105,11 +1083,6 @@ For a complete discussion on the usage of the following see the translations are temporarily deactivated (by :func:`deactivate_all()` or when ``None`` is passed to :func:`override()`). - .. versionchanged:: 1.8 - - Before Django 1.8, ``get_language()`` always returned - :setting:`LANGUAGE_CODE` when translations were deactivated. - .. function:: get_language_bidi() Returns selected language's BiDi layout: |
