django-enum 2.2.0__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_enum-2.2.0 → django_enum-2.2.2}/.github/workflows/lint.yml +6 -5
- {django_enum-2.2.0 → django_enum-2.2.2}/.github/workflows/test.yml +26 -25
- django_enum-2.2.2/.github/workflows/zizmor.yml +51 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/PKG-INFO +11 -11
- {django_enum-2.2.0 → django_enum-2.2.2}/README.md +7 -7
- django_enum-2.2.2/SECURITY.md +13 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/changelog.rst +71 -60
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/conf.py +1 -1
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/integrations.rst +1 -1
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/index.rst +9 -9
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/refs.rst +1 -1
- {django_enum-2.2.0 → django_enum-2.2.2}/pyproject.toml +5 -5
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/__init__.py +1 -1
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_name_override.py +1 -1
- {django_enum-2.2.0 → django_enum-2.2.2}/uv.lock +1 -1
- django_enum-2.2.0/SECURITY.md +0 -12
- {django_enum-2.2.0 → django_enum-2.2.2}/.codecov.yml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.gitattributes +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.github/dependabot.yml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.github/workflows/debug.yml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.github/workflows/release.yml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.github/workflows/scorecard.yml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.gitignore +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/.pre-commit-config.yaml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/CODE_OF_CONDUCT.md +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/CONTRIBUTING.md +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/LICENSE +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/.readthedocs.yaml +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/eccentric.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/external.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/flags.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/forms.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/index.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/migrations.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/options.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/howto/urls.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/performance.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/plots/FlagSizeBenchmark.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/plots/IndexedExactQueryPerformance_postgres.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/plots/NoIndexQueryPerformance_postgres.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/plots/QueryPerformance_postgresql.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/DRF.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/choices.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/fields.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/filters.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/forms.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/index.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/query.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/urls.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/utils.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/reference/widgets.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/tutorials/flags.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/tutorials/index.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/tutorials/properties.rst +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/FlagCheckbox.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/FlagCheckbox_nulls.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/FlagSelectMultiple.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/NonStrictFlagCheckbox.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/NonStrictFlagSelectMultiple.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/NonStrictRadioSelect.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/NonStrictSelect.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/RadioSelect.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/RadioSelect_nulls.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/doc/source/widgets/Select.png +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/justfile +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/choices.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/drf.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/fields.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/filters.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/forms.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/py.typed +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/query.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/urls.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/src/django_enum/utils.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/benchmark/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/benchmark/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/benchmark/enums.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/benchmark/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/benchmarks.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/constraints/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/constraints/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/constraints/enums.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/constraints/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/converters/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/converters/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/converters/urls.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/db_default/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/db_default/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/db_default/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/admin.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/enums.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/forms.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/urls.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/djenum/views.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_1.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_10.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_2.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_3.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_4.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_5.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_6.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_7.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_8.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/edits/_9.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/edit_tests/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/admin.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/enums.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/forms.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/urls.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/enum_prop/views.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/admin.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/basic_example.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/checkboxes_form_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/choice_form_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/custom_value_example.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/drf_modelserializer_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/drf_serializer_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/enums/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/enums/color.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/enums/permissions.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/equivalency_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/extern_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/filterfield_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/filterset_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/flag_example.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/flag_form_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/flag_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/flagfilterfield_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/gnss_tutorial.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/gnss_vanilla_tutorial.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/mapbox_tutorial.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/mixed_value_example.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/basic.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/custom_value.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/equivalency.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/extern.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/flag.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/flag_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/gnss.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/gnss_vanilla.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/mapbox.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/mixed_value.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/no_coerce.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/path_value.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/properties.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/properties_choices.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/strict.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/text_choices.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/models/widgets.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/no_coerce_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/path_value_example.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/properties_example.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/radio_form_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/strict_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/templates/tests_examples/choice_form_howto.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/templates/tests_examples/flag_form_howto.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/templates/tests_examples/textchoicesexample_filter.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/text_choices_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/url_converter_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/urls.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/urls_forms.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/examples/urls_howto.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/flag_constraints/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/flag_constraints/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/flag_constraints/enums.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/flag_constraints/models.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/oracle_patch.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/settings.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_admin.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_admin_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_bulk.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_bulk_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_choices.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_choices_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_constraints.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_converter.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_db_defaults.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_eccentric.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_enum_props.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_errors.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_examples.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_external.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_field_types.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_field_types_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_flags.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_flags_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_forms.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_forms_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_migrations.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_queries.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_queries_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_requests.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_requests_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_requests_flags.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_requests_flags_ep.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_utils.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_validation.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/test_verify_environment.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/apps.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/base.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/enumtester_confirm_delete.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/enumtester_detail.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/enumtester_form.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/enumtester_list.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/flagtester_confirm_delete.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/flagtester_detail.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/flagtester_form.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templates/flagtester_list.html +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templatetags/__init__.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/tmpls/templatetags/test_tags.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/urls.py +0 -0
- {django_enum-2.2.0 → django_enum-2.2.2}/tests/utils.py +0 -0
|
@@ -5,6 +5,10 @@ permissions:
|
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
7
|
push:
|
|
8
|
+
tags-ignore:
|
|
9
|
+
- '*'
|
|
10
|
+
branches:
|
|
11
|
+
- '*'
|
|
8
12
|
pull_request:
|
|
9
13
|
workflow_call:
|
|
10
14
|
workflow_dispatch:
|
|
@@ -28,17 +32,14 @@ jobs:
|
|
|
28
32
|
django-version:
|
|
29
33
|
- '3.2' # LTS April 2024
|
|
30
34
|
- '4.2' # LTS April 2026
|
|
31
|
-
- '5.
|
|
32
|
-
- '5.1' # December 2025
|
|
35
|
+
- '5.2' # LTS April 2028
|
|
33
36
|
exclude:
|
|
34
37
|
- python-version: '3.9'
|
|
35
38
|
django-version: '4.2'
|
|
36
|
-
- python-version: '3.9'
|
|
37
|
-
django-version: '5.0'
|
|
38
39
|
- python-version: '3.13'
|
|
39
40
|
django-version: '3.2'
|
|
40
41
|
- python-version: '3.9'
|
|
41
|
-
django-version: '5.
|
|
42
|
+
django-version: '5.2'
|
|
42
43
|
|
|
43
44
|
env:
|
|
44
45
|
RDBMS: sqlite
|
|
@@ -5,6 +5,10 @@ permissions:
|
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
7
|
push:
|
|
8
|
+
tags-ignore:
|
|
9
|
+
- '*'
|
|
10
|
+
branches:
|
|
11
|
+
- '*'
|
|
8
12
|
pull_request:
|
|
9
13
|
workflow_call:
|
|
10
14
|
workflow_dispatch:
|
|
@@ -36,7 +40,7 @@ jobs:
|
|
|
36
40
|
- '3.2' # LTS April 2024
|
|
37
41
|
- '4.2' # LTS April 2026
|
|
38
42
|
- '5.1' # December 2025
|
|
39
|
-
- '5.
|
|
43
|
+
- '5.2' # LTS April 2028
|
|
40
44
|
exclude:
|
|
41
45
|
- django-version: '4.2'
|
|
42
46
|
postgres-version: '9.6'
|
|
@@ -58,15 +62,15 @@ jobs:
|
|
|
58
62
|
django-version: '5.1'
|
|
59
63
|
|
|
60
64
|
- postgres-version: '9.6'
|
|
61
|
-
django-version: '5.
|
|
65
|
+
django-version: '5.2'
|
|
62
66
|
|
|
63
67
|
- postgres-version: '12'
|
|
64
|
-
django-version: '5.
|
|
68
|
+
django-version: '5.2'
|
|
65
69
|
|
|
66
70
|
- python-version: '3.9'
|
|
67
71
|
django-version: '5.1'
|
|
68
72
|
- python-version: '3.9'
|
|
69
|
-
django-version: '5.
|
|
73
|
+
django-version: '5.2'
|
|
70
74
|
- python-version: '3.13'
|
|
71
75
|
django-version: '3.2'
|
|
72
76
|
- python-version: '3.13'
|
|
@@ -122,11 +126,7 @@ jobs:
|
|
|
122
126
|
- name: Install Release Dependencies
|
|
123
127
|
run: |
|
|
124
128
|
just setup ${{ steps.sp.outputs.python-path }}
|
|
125
|
-
|
|
126
|
-
just test-lock "Django==${{ matrix.django-version }}"
|
|
127
|
-
else
|
|
128
|
-
just test-lock "Django~=${{ matrix.django-version }}.0"
|
|
129
|
-
fi
|
|
129
|
+
just test-lock "Django~=${{ matrix.django-version }}.0"
|
|
130
130
|
- name: Install Emacs
|
|
131
131
|
if: ${{ github.event.inputs.debug == 'true' }}
|
|
132
132
|
run: |
|
|
@@ -165,10 +165,10 @@ jobs:
|
|
|
165
165
|
django-version:
|
|
166
166
|
- '3.2' # LTS April 2024
|
|
167
167
|
- '4.2' # LTS April 2026
|
|
168
|
-
- '5.
|
|
168
|
+
- '5.2' # LTS April 2028
|
|
169
169
|
exclude:
|
|
170
170
|
- python-version: '3.9'
|
|
171
|
-
django-version: '5.
|
|
171
|
+
django-version: '5.2'
|
|
172
172
|
- python-version: '3.13'
|
|
173
173
|
django-version: '3.2'
|
|
174
174
|
|
|
@@ -224,18 +224,19 @@ jobs:
|
|
|
224
224
|
django-version:
|
|
225
225
|
- '3.2' # LTS April 2024
|
|
226
226
|
- '4.2' # LTS April 2026
|
|
227
|
-
- '5.
|
|
227
|
+
- '5.2' # LTS April 2028
|
|
228
228
|
exclude:
|
|
229
229
|
- python-version: '3.13'
|
|
230
230
|
django-version: '3.2'
|
|
231
231
|
- python-version: '3.9'
|
|
232
|
-
django-version: '5.
|
|
232
|
+
django-version: '5.2'
|
|
233
|
+
|
|
233
234
|
|
|
234
235
|
- django-version: '3.2'
|
|
235
236
|
mysql-version: 'latest'
|
|
236
237
|
- django-version: '4.2'
|
|
237
238
|
mysql-version: '5.7'
|
|
238
|
-
- django-version: '5.
|
|
239
|
+
- django-version: '5.2'
|
|
239
240
|
mysql-version: '5.7'
|
|
240
241
|
|
|
241
242
|
- mysql-version: '5.7'
|
|
@@ -333,18 +334,18 @@ jobs:
|
|
|
333
334
|
django-version:
|
|
334
335
|
- '3.2' # LTS April 2024
|
|
335
336
|
- '4.2' # LTS April 2026
|
|
336
|
-
- '5.
|
|
337
|
+
- '5.2' # LTS April 2028
|
|
337
338
|
exclude:
|
|
338
339
|
- python-version: '3.13'
|
|
339
340
|
django-version: '3.2'
|
|
340
341
|
- python-version: '3.9'
|
|
341
|
-
django-version: '5.
|
|
342
|
+
django-version: '5.2'
|
|
342
343
|
|
|
343
344
|
- django-version: '3.2'
|
|
344
345
|
mariadb-version: 'latest'
|
|
345
346
|
- django-version: '4.2'
|
|
346
347
|
mariadb-version: '10.2'
|
|
347
|
-
- django-version: '5.
|
|
348
|
+
- django-version: '5.2'
|
|
348
349
|
mariadb-version: '10.2'
|
|
349
350
|
|
|
350
351
|
- mariadb-version: '10.2'
|
|
@@ -437,15 +438,15 @@ jobs:
|
|
|
437
438
|
django-version:
|
|
438
439
|
- '3.2' # LTS April 2024
|
|
439
440
|
- '4.2' # LTS April 2026
|
|
440
|
-
- '5.
|
|
441
|
+
- '5.2' # LTS April 2028
|
|
441
442
|
oracle-version:
|
|
442
443
|
- '18'
|
|
443
444
|
- 'latest'
|
|
444
445
|
exclude:
|
|
445
446
|
- python-version: '3.9'
|
|
446
|
-
django-version: '5.
|
|
447
|
+
django-version: '5.2'
|
|
447
448
|
- python-version: '3.10'
|
|
448
|
-
django-version: '5.
|
|
449
|
+
django-version: '5.2'
|
|
449
450
|
- python-version: '3.10'
|
|
450
451
|
django-version: '3.2'
|
|
451
452
|
- python-version: '3.12'
|
|
@@ -458,7 +459,7 @@ jobs:
|
|
|
458
459
|
oracle-version: 'latest'
|
|
459
460
|
- django-version: '4.2'
|
|
460
461
|
oracle-version: '18'
|
|
461
|
-
- django-version: '5.
|
|
462
|
+
- django-version: '5.2'
|
|
462
463
|
oracle-version: '18'
|
|
463
464
|
|
|
464
465
|
services:
|
|
@@ -540,10 +541,10 @@ jobs:
|
|
|
540
541
|
python-version: [ '3.9', '3.13']
|
|
541
542
|
django-version:
|
|
542
543
|
- '3.2' # LTS April 2024
|
|
543
|
-
- '5.
|
|
544
|
+
- '5.2' # LTS April 2028
|
|
544
545
|
exclude:
|
|
545
546
|
- python-version: '3.9'
|
|
546
|
-
django-version: '5.
|
|
547
|
+
django-version: '5.2'
|
|
547
548
|
- python-version: '3.13'
|
|
548
549
|
django-version: '3.2'
|
|
549
550
|
|
|
@@ -601,10 +602,10 @@ jobs:
|
|
|
601
602
|
python-version: [ '3.9', '3.13']
|
|
602
603
|
django-version:
|
|
603
604
|
- '3.2' # LTS April 2024
|
|
604
|
-
- '5.
|
|
605
|
+
- '5.2' # LTS April 2028
|
|
605
606
|
exclude:
|
|
606
607
|
- python-version: '3.9'
|
|
607
|
-
django-version: '5.
|
|
608
|
+
django-version: '5.2'
|
|
608
609
|
- python-version: '3.13'
|
|
609
610
|
django-version: '3.2'
|
|
610
611
|
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Zizmor
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
schedule:
|
|
9
|
+
# Run weekly
|
|
10
|
+
- cron: '0 0 * * 0'
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
zizmor-analysis:
|
|
18
|
+
name: Run Zizmor
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
permissions:
|
|
21
|
+
contents: read
|
|
22
|
+
security-events: write
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- name: Checkout repository
|
|
26
|
+
uses: actions/checkout@v4
|
|
27
|
+
with:
|
|
28
|
+
persist-credentials: false
|
|
29
|
+
|
|
30
|
+
- name: Set up Rust
|
|
31
|
+
uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
32
|
+
|
|
33
|
+
- name: Install Zizmor
|
|
34
|
+
run: |
|
|
35
|
+
cargo install zizmor
|
|
36
|
+
|
|
37
|
+
- name: Run Zizmor analysis
|
|
38
|
+
run: |
|
|
39
|
+
zizmor --format sarif .github/workflows/ > results.sarif
|
|
40
|
+
|
|
41
|
+
- name: Upload analysis results
|
|
42
|
+
uses: actions/upload-artifact@v4
|
|
43
|
+
with:
|
|
44
|
+
name: zizmor-results
|
|
45
|
+
path: results.sarif
|
|
46
|
+
retention-days: 7
|
|
47
|
+
|
|
48
|
+
- name: Upload to code-scanning
|
|
49
|
+
uses: github/codeql-action/upload-sarif@v3
|
|
50
|
+
with:
|
|
51
|
+
sarif_file: results.sarif
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-enum
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: Full and natural support for enumerations as Django model fields.
|
|
5
5
|
Project-URL: Homepage, https://django-enum.readthedocs.io
|
|
6
6
|
Project-URL: Documentation, https://django-enum.readthedocs.io
|
|
7
|
-
Project-URL: Repository, https://github.com/
|
|
8
|
-
Project-URL: Issues, https://github.com/
|
|
7
|
+
Project-URL: Repository, https://github.com/django-commons/django-enum
|
|
8
|
+
Project-URL: Issues, https://github.com/django-commons/django-enum/issues
|
|
9
9
|
Project-URL: Changelog, https://django-enum.readthedocs.io/en/latest/changelog.html
|
|
10
|
-
Project-URL: Code_of_Conduct, https://github.com/
|
|
10
|
+
Project-URL: Code_of_Conduct, https://github.com/django-commons/django-enum/blob/main/CODE_OF_CONDUCT.md
|
|
11
11
|
Author-email: Brian Kohan <bckohan@gmail.com>
|
|
12
12
|
License-Expression: MIT
|
|
13
13
|
License-File: LICENSE
|
|
@@ -55,9 +55,9 @@ Description-Content-Type: text/markdown
|
|
|
55
55
|
[](https://pypi.org/project/django-enum/)
|
|
56
56
|
[](https://pypi.python.org/pypi/django-enum)
|
|
57
57
|
[](http://django-enum.readthedocs.io/?badge=latest/)
|
|
58
|
-
[](https://codecov.io/gh/django-commons/django-enum)
|
|
59
|
+
[](https://github.com/django-commons/django-enum/actions/workflows/test.yml?query=branch:main)
|
|
60
|
+
[](https://github.com/django-commons/django-enum/actions/workflows/lint.yml?query=branch:main)
|
|
61
61
|
[](https://djangopackages.org/packages/p/django-enum/)
|
|
62
62
|
|
|
63
63
|
---------------------------------------------------------------------------------------------------
|
|
@@ -242,7 +242,7 @@ class Color(TextChoices):
|
|
|
242
242
|
|
|
243
243
|
## Installation
|
|
244
244
|
|
|
245
|
-
1. Clone django-enum from [GitHub](https://github.com/
|
|
245
|
+
1. Clone django-enum from [GitHub](https://github.com/django-commons/django-enum) or install a release off [pypi](https://pypi.org/project/django-enum):
|
|
246
246
|
|
|
247
247
|
```bash
|
|
248
248
|
pip install django-enum
|
|
@@ -269,7 +269,7 @@ class Color(TextChoices):
|
|
|
269
269
|
|
|
270
270
|
Like with [Django](https://www.djangoproject.com), [PostgreSQL](https://www.postgresql.org) is the preferred database for support. The full test suite is run against all combinations of currently supported versions of [Django](https://www.djangoproject.com), [Python](https://www.python.org), and [PostgreSQL](https://www.postgresql.org) as well as [psycopg3](https://pypi.org/project/psycopg) and [psycopg2](https://pypi.org/project/psycopg2). The other RDBMS supported by [Django](https://www.djangoproject.com) are also tested including [SQLite](https://www.sqlite.org), [MySQL](https://www.mysql.com), [MariaDB](https://mariadb.org) and [Oracle](https://www.oracle.com/database). For these RDBMS (with the exception of [Oracle](https://www.oracle.com/database), tests are run against the minimum and maximum supported version combinations to maximize coverage breadth.
|
|
271
271
|
|
|
272
|
-
**See the [latest test runs](https://github.com/
|
|
272
|
+
**See the [latest test runs](https://github.com/django-commons/django-enum/actions/workflows/test.yml) for our current test matrix**
|
|
273
273
|
|
|
274
274
|
For [Oracle](https://www.oracle.com/database), only the latest version of the free database is tested against the minimum and maximum supported versions of Python, Django and the [cx-Oracle](https://pypi.org/project/cx-Oracle) driver.
|
|
275
275
|
|
|
@@ -277,8 +277,8 @@ For [Oracle](https://www.oracle.com/database), only the latest version of the fr
|
|
|
277
277
|
|
|
278
278
|
Consider using [django-render-static](https://pypi.org/project/django-render-static) to make your enumerations [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) across the full stack!
|
|
279
279
|
|
|
280
|
-
Please report bugs and discuss features on the [issues page](https://github.com/
|
|
280
|
+
Please report bugs and discuss features on the [issues page](https://github.com/django-commons/django-enum/issues).
|
|
281
281
|
|
|
282
|
-
[Contributions](https://github.com/
|
|
282
|
+
[Contributions](https://github.com/django-commons/django-enum/blob/main/CONTRIBUTING.md) are encouraged!
|
|
283
283
|
|
|
284
284
|
[Full documentation at read the docs.](https://django-enum.readthedocs.io)
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
[](https://pypi.org/project/django-enum/)
|
|
8
8
|
[](https://pypi.python.org/pypi/django-enum)
|
|
9
9
|
[](http://django-enum.readthedocs.io/?badge=latest/)
|
|
10
|
-
[](https://codecov.io/gh/django-commons/django-enum)
|
|
11
|
+
[](https://github.com/django-commons/django-enum/actions/workflows/test.yml?query=branch:main)
|
|
12
|
+
[](https://github.com/django-commons/django-enum/actions/workflows/lint.yml?query=branch:main)
|
|
13
13
|
[](https://djangopackages.org/packages/p/django-enum/)
|
|
14
14
|
|
|
15
15
|
---------------------------------------------------------------------------------------------------
|
|
@@ -194,7 +194,7 @@ class Color(TextChoices):
|
|
|
194
194
|
|
|
195
195
|
## Installation
|
|
196
196
|
|
|
197
|
-
1. Clone django-enum from [GitHub](https://github.com/
|
|
197
|
+
1. Clone django-enum from [GitHub](https://github.com/django-commons/django-enum) or install a release off [pypi](https://pypi.org/project/django-enum):
|
|
198
198
|
|
|
199
199
|
```bash
|
|
200
200
|
pip install django-enum
|
|
@@ -221,7 +221,7 @@ class Color(TextChoices):
|
|
|
221
221
|
|
|
222
222
|
Like with [Django](https://www.djangoproject.com), [PostgreSQL](https://www.postgresql.org) is the preferred database for support. The full test suite is run against all combinations of currently supported versions of [Django](https://www.djangoproject.com), [Python](https://www.python.org), and [PostgreSQL](https://www.postgresql.org) as well as [psycopg3](https://pypi.org/project/psycopg) and [psycopg2](https://pypi.org/project/psycopg2). The other RDBMS supported by [Django](https://www.djangoproject.com) are also tested including [SQLite](https://www.sqlite.org), [MySQL](https://www.mysql.com), [MariaDB](https://mariadb.org) and [Oracle](https://www.oracle.com/database). For these RDBMS (with the exception of [Oracle](https://www.oracle.com/database), tests are run against the minimum and maximum supported version combinations to maximize coverage breadth.
|
|
223
223
|
|
|
224
|
-
**See the [latest test runs](https://github.com/
|
|
224
|
+
**See the [latest test runs](https://github.com/django-commons/django-enum/actions/workflows/test.yml) for our current test matrix**
|
|
225
225
|
|
|
226
226
|
For [Oracle](https://www.oracle.com/database), only the latest version of the free database is tested against the minimum and maximum supported versions of Python, Django and the [cx-Oracle](https://pypi.org/project/cx-Oracle) driver.
|
|
227
227
|
|
|
@@ -229,8 +229,8 @@ For [Oracle](https://www.oracle.com/database), only the latest version of the fr
|
|
|
229
229
|
|
|
230
230
|
Consider using [django-render-static](https://pypi.org/project/django-render-static) to make your enumerations [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) across the full stack!
|
|
231
231
|
|
|
232
|
-
Please report bugs and discuss features on the [issues page](https://github.com/
|
|
232
|
+
Please report bugs and discuss features on the [issues page](https://github.com/django-commons/django-enum/issues).
|
|
233
233
|
|
|
234
|
-
[Contributions](https://github.com/
|
|
234
|
+
[Contributions](https://github.com/django-commons/django-enum/blob/main/CONTRIBUTING.md) are encouraged!
|
|
235
235
|
|
|
236
236
|
[Full documentation at read the docs.](https://django-enum.readthedocs.io)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
[](https://github.com/django-commons/django-enum/actions/workflows/github-code-scanning/codeql?query=branch:main)
|
|
4
|
+
[](https://woodruffw.github.io/zizmor)
|
|
5
|
+
[](https://securityscorecards.dev/viewer/?uri=github.com/django-commons/django-enum)
|
|
6
|
+
|
|
7
|
+
## Supported Versions
|
|
8
|
+
|
|
9
|
+
Only the latest version [](https://pypi.python.org/pypi/django-enum) is supported.
|
|
10
|
+
|
|
11
|
+
## Reporting a Vulnerability
|
|
12
|
+
|
|
13
|
+
If you think you have found a vulnerability, and even if you are not sure, please [report it to us in private](https://github.com/django-commons/django-enum/security/advisories/new). We will review it and get back to you. Please refrain from public discussions of the issue.
|
|
@@ -4,68 +4,79 @@
|
|
|
4
4
|
Change Log
|
|
5
5
|
==========
|
|
6
6
|
|
|
7
|
+
v2.2.2 (2025-04-18)
|
|
8
|
+
===================
|
|
9
|
+
|
|
10
|
+
* Minor doc fixes.
|
|
11
|
+
|
|
12
|
+
v2.2.1 (2025-04-18)
|
|
13
|
+
===================
|
|
14
|
+
|
|
15
|
+
* First release under `django-commons <https://github.com/django-commons>`_ ownership!
|
|
16
|
+
* Fix all links to reflect new home @ `django-commons <https://github.com/django-commons>`_
|
|
17
|
+
|
|
7
18
|
v2.2.0 (2025-03-28)
|
|
8
19
|
===================
|
|
9
20
|
|
|
10
|
-
* Implemented `Need a DRF integration for FlagFields <https://github.com/
|
|
11
|
-
* Fixed `FilterSet override of filter_for_lookup disregards meta options. <https://github.com/
|
|
12
|
-
* Implemented `Add EnumFlagFilter to support has_any and has_all flag queries. <https://github.com/
|
|
13
|
-
* Fixed `Enum types that resolve to primitives of str or int but that do not inherit from those types can result in validation errors. <https://github.com/
|
|
14
|
-
* Implemented `Support checkboxes for FlagEnumField <https://github.com/
|
|
15
|
-
* Implemented `Support radio buttons for EnumChoiceField <https://github.com/
|
|
16
|
-
* Implemented `If default is not provided for flag fields it should be Flag(0). <https://github.com/
|
|
17
|
-
* Fixed `EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None <https://github.com/
|
|
18
|
-
* Fixed `Large enum fields that inherit from binaryfield have editable=False by default <https://github.com/
|
|
19
|
-
* Fixed `EnumFlagField breaks for Flag types that are not constructible from lists of values <https://github.com/
|
|
20
|
-
* Implemented `Test all example code in the docs <https://github.com/
|
|
21
|
-
* Implemented `Use intersphinx for doc references <https://github.com/
|
|
22
|
-
* Implemented `Support Django 5.2 <https://github.com/
|
|
23
|
-
* Implemented `Upgrade to enum-properties >=2.2 <https://github.com/
|
|
24
|
-
* Implemented `Move form imports to locally scoped imports where needed in fields.py <https://github.com/
|
|
25
|
-
* Implemented `Reorganize documentation using diataxis <https://github.com/
|
|
26
|
-
* Implemented `Provide a MultipleEnumChoiceFilter <https://github.com/
|
|
27
|
-
* Implemented `Provide an EnumMultipleChoiceField <https://github.com/
|
|
21
|
+
* Implemented `Need a DRF integration for FlagFields <https://github.com/django-commons/django-enum/issues/113>`_
|
|
22
|
+
* Fixed `FilterSet override of filter_for_lookup disregards meta options. <https://github.com/django-commons/django-enum/issues/111>`_
|
|
23
|
+
* Implemented `Add EnumFlagFilter to support has_any and has_all flag queries. <https://github.com/django-commons/django-enum/issues/110>`_
|
|
24
|
+
* Fixed `Enum types that resolve to primitives of str or int but that do not inherit from those types can result in validation errors. <https://github.com/django-commons/django-enum/issues/109>`_
|
|
25
|
+
* Implemented `Support checkboxes for FlagEnumField <https://github.com/django-commons/django-enum/issues/107>`_
|
|
26
|
+
* Implemented `Support radio buttons for EnumChoiceField <https://github.com/django-commons/django-enum/issues/106>`_
|
|
27
|
+
* Implemented `If default is not provided for flag fields it should be Flag(0). <https://github.com/django-commons/django-enum/issues/105>`_
|
|
28
|
+
* Fixed `EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None <https://github.com/django-commons/django-enum/issues/104>`_
|
|
29
|
+
* Fixed `Large enum fields that inherit from binaryfield have editable=False by default <https://github.com/django-commons/django-enum/issues/103>`_
|
|
30
|
+
* Fixed `EnumFlagField breaks for Flag types that are not constructible from lists of values <https://github.com/django-commons/django-enum/issues/102>`_
|
|
31
|
+
* Implemented `Test all example code in the docs <https://github.com/django-commons/django-enum/issues/99>`_
|
|
32
|
+
* Implemented `Use intersphinx for doc references <https://github.com/django-commons/django-enum/issues/98>`_
|
|
33
|
+
* Implemented `Support Django 5.2 <https://github.com/django-commons/django-enum/issues/96>`_
|
|
34
|
+
* Implemented `Upgrade to enum-properties >=2.2 <https://github.com/django-commons/django-enum/issues/95>`_
|
|
35
|
+
* Implemented `Move form imports to locally scoped imports where needed in fields.py <https://github.com/django-commons/django-enum/issues/79>`_
|
|
36
|
+
* Implemented `Reorganize documentation using diataxis <https://github.com/django-commons/django-enum/issues/72>`_
|
|
37
|
+
* Implemented `Provide a MultipleEnumChoiceFilter <https://github.com/django-commons/django-enum/issues/25>`_
|
|
38
|
+
* Implemented `Provide an EnumMultipleChoiceField <https://github.com/django-commons/django-enum/issues/24>`_
|
|
28
39
|
|
|
29
40
|
v2.1.0 (2025-02-24)
|
|
30
41
|
===================
|
|
31
42
|
|
|
32
|
-
* Implemented `Switch poetry -> uv <https://github.com/
|
|
33
|
-
* Implemented `Add macos runner to CI <https://github.com/
|
|
34
|
-
* Implemented `Add windows runner to CI <https://github.com/
|
|
35
|
-
* Implemented `Drop support for python 3.8 <https://github.com/
|
|
36
|
-
* Implemented `Move to justfile dev interface. <https://github.com/
|
|
37
|
-
* Implemented `Modernize pyproject.toml <https://github.com/
|
|
43
|
+
* Implemented `Switch poetry -> uv <https://github.com/django-commons/django-enum/issues/87>`_
|
|
44
|
+
* Implemented `Add macos runner to CI <https://github.com/django-commons/django-enum/issues/86>`_
|
|
45
|
+
* Implemented `Add windows runner to CI <https://github.com/django-commons/django-enum/issues/85>`_
|
|
46
|
+
* Implemented `Drop support for python 3.8 <https://github.com/django-commons/django-enum/issues/84>`_
|
|
47
|
+
* Implemented `Move to justfile dev interface. <https://github.com/django-commons/django-enum/issues/83>`_
|
|
48
|
+
* Implemented `Modernize pyproject.toml <https://github.com/django-commons/django-enum/issues/82>`_
|
|
38
49
|
|
|
39
50
|
v2.0.2 (2024-09-25)
|
|
40
51
|
===================
|
|
41
52
|
|
|
42
|
-
* Fixed `Constraints fail when using a name argument <https://github.com/
|
|
53
|
+
* Fixed `Constraints fail when using a name argument <https://github.com/django-commons/django-enum/issues/77>`_
|
|
43
54
|
|
|
44
55
|
v2.0.1 (2024-09-16)
|
|
45
56
|
===================
|
|
46
57
|
|
|
47
|
-
* Fixed `Unexpected ValueError instead of ValidationError <https://github.com/
|
|
58
|
+
* Fixed `Unexpected ValueError instead of ValidationError <https://github.com/django-commons/django-enum/issues/74>`_
|
|
48
59
|
|
|
49
60
|
v2.0.0 (2024-09-09)
|
|
50
61
|
===================
|
|
51
62
|
|
|
52
|
-
* Completed `Reorganize tests <https://github.com/
|
|
53
|
-
* Completed `Switch linting and formatting to ruff <https://github.com/
|
|
54
|
-
* Implemented `Install django-stubs when running static type checks. <https://github.com/
|
|
55
|
-
* Fixed `When a character enum field allows null and blank=True, form fields and drf fields allow '' to pass through causing errors. <https://github.com/
|
|
56
|
-
* Implemented `Supply a mixin for DRF ModelSerializers that instantiates the provided DRF EnumField type for model EnumFields. <https://github.com/
|
|
57
|
-
* Implemented `EnumField's should inherit from common base titled EnumField <https://github.com/
|
|
58
|
-
* Implemented `Add database constraints on enum fields by default. <https://github.com/
|
|
59
|
-
* Fixed `to_python() raises ValueError instead of spec'ed ValidationError <https://github.com/
|
|
60
|
-
* Implemented `Add support for date, datetime, timedelta, time and Decimal enumeration types. <https://github.com/
|
|
61
|
-
* Fixed `None should be an allowable enumeration value in enums of any primitive type. <https://github.com/
|
|
62
|
-
* Implemented `Characterize the performance trade offs of bitfields vs indexed and non-indexed boolean fields. <https://github.com/
|
|
63
|
-
* Fixed `When coerce is false, to_python does not convert to the Enum's primitive type <https://github.com/
|
|
64
|
-
* Implemented `Provide parameter to override integer range on EnumField. <https://github.com/
|
|
65
|
-
* Implemented `Add all official supported Django RDBMS backends to CI <https://github.com/
|
|
66
|
-
* Implemented `Support for integer sizes greater than 64 bit <https://github.com/
|
|
67
|
-
* Implemented `Provide an optional enum path converter. <https://github.com/
|
|
68
|
-
* Implemented `Support flag enumerations <https://github.com/
|
|
63
|
+
* Completed `Reorganize tests <https://github.com/django-commons/django-enum/issues/70>`_
|
|
64
|
+
* Completed `Switch linting and formatting to ruff <https://github.com/django-commons/django-enum/issues/62>`_
|
|
65
|
+
* Implemented `Install django-stubs when running static type checks. <https://github.com/django-commons/django-enum/issues/60>`_
|
|
66
|
+
* Fixed `When a character enum field allows null and blank=True, form fields and drf fields allow '' to pass through causing errors. <https://github.com/django-commons/django-enum/issues/53>`_
|
|
67
|
+
* Implemented `Supply a mixin for DRF ModelSerializers that instantiates the provided DRF EnumField type for model EnumFields. <https://github.com/django-commons/django-enum/issues/47>`_
|
|
68
|
+
* Implemented `EnumField's should inherit from common base titled EnumField <https://github.com/django-commons/django-enum/issues/46>`_
|
|
69
|
+
* Implemented `Add database constraints on enum fields by default. <https://github.com/django-commons/django-enum/issues/45>`_
|
|
70
|
+
* Fixed `to_python() raises ValueError instead of spec'ed ValidationError <https://github.com/django-commons/django-enum/issues/44>`_
|
|
71
|
+
* Implemented `Add support for date, datetime, timedelta, time and Decimal enumeration types. <https://github.com/django-commons/django-enum/issues/43>`_
|
|
72
|
+
* Fixed `None should be an allowable enumeration value in enums of any primitive type. <https://github.com/django-commons/django-enum/issues/42>`_
|
|
73
|
+
* Implemented `Characterize the performance trade offs of bitfields vs indexed and non-indexed boolean fields. <https://github.com/django-commons/django-enum/issues/41>`_
|
|
74
|
+
* Fixed `When coerce is false, to_python does not convert to the Enum's primitive type <https://github.com/django-commons/django-enum/issues/39>`_
|
|
75
|
+
* Implemented `Provide parameter to override integer range on EnumField. <https://github.com/django-commons/django-enum/issues/38>`_
|
|
76
|
+
* Implemented `Add all official supported Django RDBMS backends to CI <https://github.com/django-commons/django-enum/issues/33>`_
|
|
77
|
+
* Implemented `Support for integer sizes greater than 64 bit <https://github.com/django-commons/django-enum/issues/32>`_
|
|
78
|
+
* Implemented `Provide an optional enum path converter. <https://github.com/django-commons/django-enum/issues/22>`_
|
|
79
|
+
* Implemented `Support flag enumerations <https://github.com/django-commons/django-enum/issues/7>`_
|
|
69
80
|
|
|
70
81
|
.. _migration_1.x_to_2.x:
|
|
71
82
|
|
|
@@ -111,61 +122,61 @@ Migration from 1.x -> 2.x
|
|
|
111
122
|
v1.3.3 (2024-08-26)
|
|
112
123
|
===================
|
|
113
124
|
|
|
114
|
-
* Implemented `Support python 3.13 <https://github.com/
|
|
115
|
-
* Implemented `Drop support for Python 3.7 <https://github.com/
|
|
125
|
+
* Implemented `Support python 3.13 <https://github.com/django-commons/django-enum/issues/67>`_
|
|
126
|
+
* Implemented `Drop support for Python 3.7 <https://github.com/django-commons/django-enum/issues/68>`_
|
|
116
127
|
|
|
117
128
|
v1.3.2 (2024-07-15)
|
|
118
129
|
===================
|
|
119
130
|
|
|
120
|
-
* Fixed `Support Django 5.1 <https://github.com/
|
|
131
|
+
* Fixed `Support Django 5.1 <https://github.com/django-commons/django-enum/issues/63>`_
|
|
121
132
|
|
|
122
133
|
|
|
123
134
|
v1.3.1 (2024-03-02)
|
|
124
135
|
===================
|
|
125
136
|
|
|
126
|
-
* Fixed `db_default produces expressions instead of primitives when given enum value instances. <https://github.com/
|
|
137
|
+
* Fixed `db_default produces expressions instead of primitives when given enum value instances. <https://github.com/django-commons/django-enum/issues/59>`_
|
|
127
138
|
|
|
128
139
|
v1.3.0 (2023-12-13)
|
|
129
140
|
===================
|
|
130
141
|
|
|
131
|
-
* Implemented `Support db_default <https://github.com/
|
|
132
|
-
* Fixed `When coerce=False, enum form fields and model fields should still coerce to the enum's primitive type. <https://github.com/
|
|
133
|
-
* Implemented `Support Django 5.0 <https://github.com/
|
|
142
|
+
* Implemented `Support db_default <https://github.com/django-commons/django-enum/issues/56>`_
|
|
143
|
+
* Fixed `When coerce=False, enum form fields and model fields should still coerce to the enum's primitive type. <https://github.com/django-commons/django-enum/issues/55>`_
|
|
144
|
+
* Implemented `Support Django 5.0 <https://github.com/django-commons/django-enum/issues/54>`_
|
|
134
145
|
|
|
135
146
|
v1.2.2 (2023-10-02)
|
|
136
147
|
===================
|
|
137
148
|
|
|
138
|
-
* Added `Support python 3.12. <https://github.com/
|
|
139
|
-
* Fixed `EnumFields don't display correctly in the Admin when set to read_only. <https://github.com/
|
|
149
|
+
* Added `Support python 3.12. <https://github.com/django-commons/django-enum/issues/52>`_
|
|
150
|
+
* Fixed `EnumFields don't display correctly in the Admin when set to read_only. <https://github.com/django-commons/django-enum/issues/35>`_
|
|
140
151
|
|
|
141
152
|
v1.2.1 (2023-04-08)
|
|
142
153
|
===================
|
|
143
154
|
|
|
144
|
-
* Fixed `Document that with version 1.4 of enum-properties label is no longer overridable for Choices <https://github.com/
|
|
155
|
+
* Fixed `Document that with version 1.4 of enum-properties label is no longer overridable for Choices <https://github.com/django-commons/django-enum/issues/37>`_
|
|
145
156
|
|
|
146
157
|
v1.2.0 (2023-04-02)
|
|
147
158
|
===================
|
|
148
159
|
|
|
149
|
-
* Implemented `Compat for enums not deriving from Django's choices. <https://github.com/
|
|
160
|
+
* Implemented `Compat for enums not deriving from Django's choices. <https://github.com/django-commons/django-enum/issues/34>`_
|
|
150
161
|
|
|
151
162
|
|
|
152
163
|
v1.1.2 (2023-02-15)
|
|
153
164
|
===================
|
|
154
165
|
|
|
155
|
-
* Fixed `LICENSE packaged into source dir. <https://github.com/
|
|
166
|
+
* Fixed `LICENSE packaged into source dir. <https://github.com/django-commons/django-enum/issues/23>`_
|
|
156
167
|
|
|
157
168
|
v1.1.1 (2023-01-15)
|
|
158
169
|
===================
|
|
159
170
|
|
|
160
|
-
* Fixed `Broken on Django4.1/Python 3.11. <https://github.com/
|
|
171
|
+
* Fixed `Broken on Django4.1/Python 3.11. <https://github.com/django-commons/django-enum/issues/17>`_
|
|
161
172
|
|
|
162
173
|
v1.1.0 (2022-08-13)
|
|
163
174
|
===================
|
|
164
175
|
|
|
165
|
-
* Fixed `django-filter intergration for non-strict values does not work. <https://github.com/
|
|
166
|
-
* Implemented `Set EnumChoiceField to the default form field type. <https://github.com/
|
|
167
|
-
* Implemented `Coerce default values to Enum types. <https://github.com/
|
|
168
|
-
* Implemented `Use custom descriptor to coerce fields to Enum type on assignment. <https://github.com/
|
|
176
|
+
* Fixed `django-filter intergration for non-strict values does not work. <https://github.com/django-commons/django-enum/issues/6>`_
|
|
177
|
+
* Implemented `Set EnumChoiceField to the default form field type. <https://github.com/django-commons/django-enum/issues/5>`_
|
|
178
|
+
* Implemented `Coerce default values to Enum types. <https://github.com/django-commons/django-enum/issues/4>`_
|
|
179
|
+
* Implemented `Use custom descriptor to coerce fields to Enum type on assignment. <https://github.com/django-commons/django-enum/issues/3>`_
|
|
169
180
|
|
|
170
181
|
v1.0.1 (2022-08-11)
|
|
171
182
|
===================
|
|
@@ -64,7 +64,7 @@ exclude_patterns = []
|
|
|
64
64
|
#
|
|
65
65
|
html_theme = 'furo'
|
|
66
66
|
html_theme_options = {
|
|
67
|
-
"source_repository": "https://github.com/
|
|
67
|
+
"source_repository": "https://github.com/django-commons/django-enum/",
|
|
68
68
|
"source_branch": "main",
|
|
69
69
|
"source_directory": "doc/source",
|
|
70
70
|
}
|
|
@@ -87,7 +87,7 @@ enumeration values <enum-properties:howto_symmetric_properties>`. A serializer f
|
|
|
87
87
|
:class:`django_enum.drf.EnumField` is provided that will. :class:`~django_enum.fields.FlagField`
|
|
88
88
|
fields do not work well with DRF's builtin
|
|
89
89
|
`MultipleChoiceField <https://www.django-rest-framework.org/api-guide/fields/#multiplechoicefield>`_
|
|
90
|
-
so we
|
|
90
|
+
so we also provide a :class:`django_enum.drf.FlagField`.
|
|
91
91
|
|
|
92
92
|
The dependency on DRF_ is optional so to use the provided serializer field you must install DRF_:
|
|
93
93
|
|