db.models.CommaSeparatedIntegerField

class CommaSeparatedIntegerField(max_length=None, **options) [source]

Deprecated since version 1.9: This field is deprecated in favor of CharField with validators=[validate_comma_separated_integer_list].

A field of integers separated by commas. As in CharField, the max_length argument is required and the note about database portability mentioned there should be heeded.

doc_Django
2016-10-09 18:35:14
Comments
Leave a Comment

Please login to continue.