diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-05 16:10:21 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-10 12:01:00 +0200 |
| commit | b47bb4c4a74f926111bdad4a6daae14ceed6f2dd (patch) | |
| tree | 3acf489224640e3a24105ac7f9ee27f7b78e8a82 /docs/ref | |
| parent | 416c584cabd62a13985f1569ccf019c8b351f0a5 (diff) | |
Refs #29598 -- Removed FloatRangeField per deprecation timeline.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 13 | ||||
| -rw-r--r-- | docs/ref/contrib/postgres/forms.txt | 13 |
3 files changed, 1 insertions, 27 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 1289ffe1ab..9bcba596fa 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -174,7 +174,7 @@ Model fields * **fields.E901**: ``CommaSeparatedIntegerField`` is removed except for support in historical migrations. * **fields.W902**: ``FloatRangeField`` is deprecated and will be removed in - Django 3.1. + Django 3.1. *This check appeared in Django 2.2 and 3.0*. File fields ~~~~~~~~~~~ diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index aa4d797162..27cf6469f1 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -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`` ---------------------- diff --git a/docs/ref/contrib/postgres/forms.txt b/docs/ref/contrib/postgres/forms.txt index 2f60c7e913..f559ac75cb 100644 --- a/docs/ref/contrib/postgres/forms.txt +++ b/docs/ref/contrib/postgres/forms.txt @@ -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`` ~~~~~~~~~~~~~~~~~~~~~~ |
