diff options
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/api.txt | 14 | ||||
| -rw-r--r-- | docs/ref/templates/builtins.txt | 15 |
2 files changed, 1 insertions, 28 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index d8433ad955..b659831377 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -50,8 +50,6 @@ what's passed by :class:`~django.template.backends.django.DjangoTemplates`. .. class:: Engine(dirs=None, app_dirs=False, context_processors=None, debug=False, loaders=None, string_if_invalid='', file_charset='utf-8', libraries=None, builtins=None) - .. versionadded:: 1.8 - When instantiating an ``Engine`` all arguments must be passed as keyword arguments: @@ -600,12 +598,6 @@ processors:: 'django.contrib.messages.context_processors.messages', ] -.. versionchanged:: 1.8 - - Built-in template context processors were moved from - ``django.core.context_processors`` to - ``django.template.context_processors`` in Django 1.8. - In addition to these, :class:`RequestContext` always enables ``'django.template.context_processors.csrf'``. This is a security related context processor required by the admin and other contrib apps, and, in case @@ -774,10 +766,6 @@ way of specifying template directories is by using the :setting:`DIRS The :setting:`DIRS <TEMPLATES-DIRS>` option ------------------------------------------- -.. versionchanged:: 1.8 - - This value used to be defined by the ``TEMPLATE_DIRS`` setting. - Tell Django what your template directories are by using the :setting:`DIRS <TEMPLATES-DIRS>` option in the :setting:`TEMPLATES` setting in your settings file — or the ``dirs`` argument of :class:`~django.template.Engine`. This @@ -932,8 +920,6 @@ loaders that come with Django: ``django.template.loaders.locmem.Loader`` -.. versionadded:: 1.8 - .. class:: locmem.Loader Loads templates from a Python dictionary. This is useful for testing. diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 1623ff357b..e787ee8781 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -777,10 +777,6 @@ output (as a string) inside a variable. This is useful if you want to use {% now "Y" as current_year %} {% blocktrans %}Copyright {{ current_year }}{% endblocktrans %} -.. versionadded:: 1.8 - -The ability to use the "as" syntax was added. - .. templatetag:: regroup regroup @@ -1679,10 +1675,7 @@ For example:: If ``value`` is ``['a', 'b', 'c', 'd']`` or ``"abcd"``, the output will be ``4``. -.. versionchanged:: 1.8 - - The filter returns ``0`` for an undefined variable. Previously, it returned - an empty string. +The filter returns ``0`` for an undefined variable. .. templatefilter:: length_is @@ -2239,12 +2232,6 @@ It also supports domain-only links ending in one of the original top level domains (``.com``, ``.edu``, ``.gov``, ``.int``, ``.mil``, ``.net``, and ``.org``). For example, ``djangoproject.com`` gets converted. -.. versionchanged:: 1.8 - - Support for domain-only links that include characters after the top-level - domain (e.g. ``djangoproject.com/`` and ``djangoproject.com/download/``) - was added. - Links can have trailing punctuation (periods, commas, close-parens) and leading punctuation (opening parens), and ``urlize`` will still do the right thing. |
