diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-31 10:30:41 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-17 20:52:02 -0500 |
| commit | bcf3532ede16407f1a701717deaed835eda3e87b (patch) | |
| tree | d4b6167d5c47c42fcae8f05dd86b03adb7faa33c /docs/ref | |
| parent | bc3540ce2c7cc59ec39a23ed16b14cc12f485bf3 (diff) | |
Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 5 | ||||
| -rw-r--r-- | docs/ref/databases.txt | 3 | ||||
| -rw-r--r-- | docs/ref/models/fields.txt | 15 |
3 files changed, 5 insertions, 18 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`` ------------- |
