Skip to content

EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None #104

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
bckohan opened this issue Mar 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@bckohan
Copy link
Member

bckohan commented Mar 19, 2025

They should be setting to None.

@bckohan bckohan added the bug Something isn't working label Mar 19, 2025
@bckohan bckohan added this to the 2.2 milestone Mar 19, 2025
@bckohan bckohan changed the title EnumFlagFields set empty values to Flag(0) when model field has null=True EnumFlagFields set empty values to Flag(0) when model field has blank=True Mar 21, 2025
@bckohan bckohan changed the title EnumFlagFields set empty values to Flag(0) when model field has blank=True EnumFlagFields set empty values to Flag(0) when model field has null=True Mar 21, 2025
@bckohan bckohan changed the title EnumFlagFields set empty values to Flag(0) when model field has null=True EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None Mar 21, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant