1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

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
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,