Skip to content

Should choice values be enumeration instances? #124

@bckohan

Description

@bckohan

Impacted attributes: Field.flatchoices and Field.choices.

Motivation: #123

This would mostly be about removing the hash equivalency requirement on enum types for 100% interface compatibility. The only known thing in core this fixes is the list display in the admin for non-hash equivalent Enum types.

Would need to also consider how this would affect migrations.

I expect this would have a lot of breaking impacts in other parts of the code, so right now my null is that we should not do this. It does warrant more investigation though on the 3.0 timeline.

Metadata

Metadata

Assignees

Labels

BREAKINGA change that is not backwards compatible.enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions