diff options
| author | Tim Graham <timograham@gmail.com> | 2017-01-02 10:38:54 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-02 10:38:54 -0500 |
| commit | f996f7366724c75a74fc316b456e6bee98688077 (patch) | |
| tree | fecba055faa63a1f42ffd8999ef107f54a5d4aac /docs/ref/contrib/postgres | |
| parent | ed4264c5a44f01a626114e82240c977889e4a972 (diff) | |
Removed obsolete versionadded/changed annotations.
Diffstat (limited to 'docs/ref/contrib/postgres')
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 13 |
1 files changed, 5 insertions, 8 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)) <QuerySet [<Event: Soft play>]> -.. 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( |
