From f996f7366724c75a74fc316b456e6bee98688077 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 2 Jan 2017 10:38:54 -0500 Subject: [PATCH] Removed obsolete versionadded/changed annotations. --- docs/ref/contrib/postgres/fields.txt | 13 +++++-------- docs/ref/utils.txt | 5 ----- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index f753f3b75e..5a79d8879d 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -718,14 +718,11 @@ operators ``@>``, ``<@``, and ``&&`` respectively. >>> Event.objects.filter(ages__contained_by=NumericRange(0, 15)) ]> -.. versionadded 1.9 - - The `contained_by` lookup is also available on the non-range field types: - :class:`~django.db.models.fields.IntegerField`, - :class:`~django.db.models.fields.BigIntegerField`, - :class:`~django.db.models.fields.FloatField`, - :class:`~django.db.models.fields.DateField`, and - :class:`~django.db.models.fields.DateTimeField`. For example:: +The ``contained_by`` lookup is also available on the non-range field types: +:class:`~django.db.models.IntegerField`, +:class:`~django.db.models.BigIntegerField`, +:class:`~django.db.models.FloatField`, :class:`~django.db.models.DateField`, +and :class:`~django.db.models.DateTimeField`. For example:: >>> from psycopg2.extras import DateTimeTZRange >>> Event.objects.filter(start__contained_by=DateTimeTZRange( diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 320f5db795..18561781c1 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -75,11 +75,6 @@ need to distinguish caches by the ``Accept-language`` header. Adds a ``Cache-Control: max-age=0, no-cache, no-store, must-revalidate`` header to a response to indicate that a page should never be cached. - .. versionchanged:: 1.8.8 - - In older versions, ``Cache-Control: max-age=0`` was sent. This didn't - reliably prevent caching in all browsers. - .. function:: patch_vary_headers(response, newheaders) Adds (or updates) the ``Vary`` header in the given ``HttpResponse`` object.