mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.
This commit is contained in:
parent
bc3540ce2c
commit
bcf3532ede
22 changed files with 48 additions and 139 deletions
|
@ -50,7 +50,6 @@ class ColumnTypes(models.Model):
|
|||
null_bool_field = models.NullBooleanField()
|
||||
char_field = models.CharField(max_length=10)
|
||||
null_char_field = models.CharField(max_length=10, blank=True, null=True)
|
||||
comma_separated_int_field = models.CommaSeparatedIntegerField(max_length=99)
|
||||
date_field = models.DateField()
|
||||
date_time_field = models.DateTimeField()
|
||||
decimal_field = models.DecimalField(max_digits=6, decimal_places=1)
|
||||
|
|
|
@ -60,7 +60,6 @@ class InspectDBTestCase(TestCase):
|
|||
if not connection.features.interprets_empty_strings_as_nulls:
|
||||
assertFieldType('char_field', "models.CharField(max_length=10)")
|
||||
assertFieldType('null_char_field', "models.CharField(max_length=10, blank=True, null=True)")
|
||||
assertFieldType('comma_separated_int_field', "models.CharField(max_length=99)")
|
||||
assertFieldType('email_field', "models.CharField(max_length=254)")
|
||||
assertFieldType('file_field', "models.CharField(max_length=100)")
|
||||
assertFieldType('file_path_field', "models.CharField(max_length=100)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue