mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.
This commit is contained in:
parent
6429961418
commit
ac25dd1f8d
4 changed files with 10 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue