mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28937 -- Allowed BinaryField to be editable=True.
This commit is contained in:
committed by
Tim Graham
parent
9f7772e098
commit
622ead6aaf
@@ -514,3 +514,7 @@ class FieldDeconstructionTests(SimpleTestCase):
|
||||
self.assertEqual(path, "django.db.models.BinaryField")
|
||||
self.assertEqual(args, [])
|
||||
self.assertEqual(kwargs, {})
|
||||
field = models.BinaryField(editable=True)
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
self.assertEqual(args, [])
|
||||
self.assertEqual(kwargs, {'editable': True})
|
||||
|
||||
Reference in New Issue
Block a user