Refs #29598 -- Removed FloatRangeField per deprecation timeline.

This commit is contained in:
Mariusz Felisiak 2019-09-05 16:10:21 +02:00
parent 416c584cab
commit b47bb4c4a7
7 changed files with 5 additions and 73 deletions

View file

@ -661,19 +661,6 @@ excluded; that is, ``[)``.
the database and a :class:`~psycopg2:psycopg2.extras.NumericRange` in
Python.
``FloatRangeField``
-------------------
.. class:: FloatRangeField(**options)
Stores a range of floating point values. Based on a
:class:`~django.db.models.FloatField`. Represented by a ``numrange`` in the
database and a :class:`~psycopg2:psycopg2.extras.NumericRange` in Python.
.. deprecated:: 2.2
Use :class:`DecimalRangeField` instead.
``DateTimeRangeField``
----------------------

View file

@ -201,19 +201,6 @@ not greater than the upper bound. All of these fields use
:class:`~psycopg2:psycopg2.extras.NumericRange`. Default for
:class:`~django.contrib.postgres.fields.DecimalRangeField`.
``FloatRangeField``
~~~~~~~~~~~~~~~~~~~
.. class:: FloatRangeField
Based on :class:`~django.forms.FloatField` and translates its input into
:class:`~psycopg2:psycopg2.extras.NumericRange`. Default for
:class:`~django.contrib.postgres.fields.FloatRangeField`.
.. deprecated:: 2.2
Use :class:`DecimalRangeField` instead.
``DateTimeRangeField``
~~~~~~~~~~~~~~~~~~~~~~