A Django helper to define choices for model fields in a more readable and maintainable way, with support for grouping, named constants, and easy iteration. Current version 1.3.3, maintenance mode with occasional bug fixes.
pip install django-extended-choicesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define choices using tuples with constant name, value, and display label, then use in model field.
Update your requirements to django-extended-choices>=1.0.0 and ensure imports use 'django_extended_choices'.
Replace NamedValuesChoices with Choices.
Prefix your model constants or use different names to avoid confusion.