Skip to content

Commit 604dc3c

Browse files
committed
fix test
1 parent 9057015 commit 604dc3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/examples/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class Permissions(IntFlag):
116116

117117
# this is equivalent to:
118118
# CharField(max_length=2, choices=TextEnum.choices, null=True, blank=True)
119-
txt_enum = EnumField(TextEnum, null=True, blank=True)
119+
txt_enum = EnumField(TextEnum, null=True, blank=True, default=None)
120120

121121
# this is equivalent to
122122
# PositiveSmallIntegerField(choices=IntEnum.choices, default=IntEnum.ONE.value)

0 commit comments

Comments
 (0)