summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorBrobin <tobinjbrown@gmail.com>2016-02-07 17:22:48 -0600
committerTim Graham <timograham@gmail.com>2016-02-10 17:57:43 -0500
commitdca8b916ffa391964be26bbd62471d4c11b221fd (patch)
treeb429eb8364e3bb834de46bbcee395197dfbd0c27 /docs/ref/models
parentf7a9872b914c8390eb1b5f5de9634160974b7d4f (diff)
Fixed #26154 -- Deprecated CommaSeparatedIntegerField
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/fields.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 4b100ad98d..4a1c9eefbb 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -471,12 +471,17 @@ 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.