v2.2.0
What's Changed
Lots of updates to forms. Flag forms are now fully supported.
- Implemented Need a DRF integration for FlagFields
- Fixed FilterSet override of filter_for_lookup disregards meta options.
- Implemented Add EnumFlagFilter to support has_any and has_all flag queries.
- Fixed Enum types that resolve to primitives of str or int but that do not inherit from those types can result in validation errors.
- Implemented Support checkboxes for FlagEnumField
- Implemented Support radio buttons for EnumChoiceField
- Implemented If default is not provided for flag fields it should be Flag(0).
- Fixed EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None
- Fixed Large enum fields that inherit from binaryfield have editable=False by default
- Fixed EnumFlagField breaks for Flag types that are not constructible from lists of values
- Implemented Test all example code in the docs
- Implemented Use intersphinx for doc references
- Implemented Support Django 5.2
- Implemented Upgrade to enum-properties >=2.2
- Implemented Move form imports to locally scoped imports where needed in fields.py
- Implemented Reorganize documentation using diataxis
- Implemented Provide a MultipleEnumChoiceFilter
- Implemented Provide an EnumMultipleChoiceField
New Contributors
Full Changelog: v2.1.0...v2.2.0