Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.

This commit is contained in:
Mariusz Felisiak 2018-07-25 08:00:11 +02:00 committed by GitHub
parent 6429961418
commit ac25dd1f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,8 @@ class CastTests(TestCase):
def test_cast_to_integer(self):
for field_class in (
models.AutoField,
models.BigAutoField,
models.IntegerField,
models.BigIntegerField,
models.SmallIntegerField,