1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #21286 -- Enabled ImageField test cases in serializer data tests.

This aligns ImageField to be tested in the same way as FileField.
The commented-out test also exists for FileField and relates to #10244.
This commit is contained in:
Adam Zapletal
2024-12-02 21:10:43 -06:00
committed by Sarah Boyce
parent b28438f379
commit d2f2a6a6d5
2 changed files with 6 additions and 3 deletions

View File

@@ -62,8 +62,8 @@ class BigIntegerData(models.Model):
data = models.BigIntegerField(null=True)
# class ImageData(models.Model):
# data = models.ImageField(null=True)
class ImageData(models.Model):
data = models.ImageField(null=True)
class GenericIPAddressData(models.Model):