Changes between Initial Version and Version 1 of Ticket #33916
- Timestamp:
- Aug 11, 2022, 11:16:50 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33916 – Description
initial v1 1 1 If we work with a field: 2 2 3 ``` 3 4 {{{ 4 5 regex_flags = models.IntegerField(default=re.UNICODE | re.IGNORECASE) 5 ``` 6 }}} 6 7 7 8 This is turned into a migration with: 8 9 9 ``` 10 {{{ 10 11 default=re.RegexFlag[None] 11 ``` 12 }}} 12 13 13 14 This is due to the fact that the `EnumSerializer` aims to work with the `.name` of the item, but if there is no single item for the given value, then there is no such name.