summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-31 10:30:41 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:02 -0500
commitbcf3532ede16407f1a701717deaed835eda3e87b (patch)
treed4b6167d5c47c42fcae8f05dd86b03adb7faa33c /docs
parentbc3540ce2c7cc59ec39a23ed16b14cc12f485bf3 (diff)
Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt5
-rw-r--r--docs/ref/databases.txt3
-rw-r--r--docs/ref/models/fields.txt15
-rw-r--r--docs/releases/2.0.txt3
-rw-r--r--docs/topics/forms/modelforms.txt2
5 files changed, 8 insertions, 20 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index d5d0bd4e0f..fbdb34c7d9 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -174,7 +174,10 @@ Model fields
(except in historical migrations) will be removed in Django 1.9. *This check
appeared in Django 1.7 and 1.8*.
* **fields.W901**: ``CommaSeparatedIntegerField`` has been deprecated. Support
- for it (except in historical migrations) will be removed in Django 2.0.
+ for it (except in historical migrations) will be removed in Django 2.0. *This
+ check appeared in Django 1.10 and 1.11*.
+* **fields.E901**: ``CommaSeparatedIntegerField`` is removed except for support
+ in historical migrations.
File fields
~~~~~~~~~~~
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 0c2465a9af..03fed7db24 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -584,8 +584,7 @@ Character fields
Any fields that are stored with ``VARCHAR`` column types have their
``max_length`` restricted to 255 characters if you are using ``unique=True``
for the field. This affects :class:`~django.db.models.CharField`,
-:class:`~django.db.models.SlugField` and
-:class:`~django.db.models.CommaSeparatedIntegerField`.
+:class:`~django.db.models.SlugField`.
``TextField`` limitations
~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 1d03bf99f2..5e6e2e1c0e 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -480,21 +480,6 @@ The default form widget for this field is a :class:`~django.forms.TextInput`.
of. Refer to the :ref:`MySQL database notes <mysql-collation>` for
details.
-``CommaSeparatedIntegerField``
-------------------------------
-
-.. class:: CommaSeparatedIntegerField(max_length=None, **options)
-
-.. deprecated:: 1.9
-
- This field is deprecated in favor of :class:`~django.db.models.CharField`
- with ``validators=[``\ :func:`validate_comma_separated_integer_list
- <django.core.validators.validate_comma_separated_integer_list>`\ ``]``.
-
-A field of integers separated by commas. As in :class:`CharField`, the
-:attr:`~CharField.max_length` argument is required and the note about database
-portability mentioned there should be heeded.
-
``DateField``
-------------
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index 723c695533..9be5fda3ca 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -342,3 +342,6 @@ these features.
* The ``shell --plain`` option is removed.
* The ``django.core.urlresolvers`` module is removed.
+
+* ``CommaSeparatedIntegerField`` is removed, except for support in historical
+ migrations.
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index bc0c124014..eb397a3d4a 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -70,8 +70,6 @@ Model field Form field
:attr:`~django.forms.CharField.empty_value`
set to ``None`` if ``null=True``.
-:class:`CommaSeparatedIntegerField` :class:`~django.forms.CharField`
-
:class:`DateField` :class:`~django.forms.DateField`
:class:`DateTimeField` :class:`~django.forms.DateTimeField`