Skip to content

Default to 'name' for eccentric enums. #115

New issue

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

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

Already on GitHub? Sign in to your account

Open
bckohan opened this issue Mar 27, 2025 · 0 comments
Open

Default to 'name' for eccentric enums. #115

bckohan opened this issue Mar 27, 2025 · 0 comments
Assignees
Labels
BREAKING A change that is not backwards compatible.
Milestone

Comments

@bckohan
Copy link
Member

bckohan commented Mar 27, 2025

As in, use Enum.name instead of Enum.value for the column type, forcing the field to be a CharField

@bckohan bckohan added the BREAKING A change that is not backwards compatible. label Mar 27, 2025
@bckohan bckohan added this to the 3.0 milestone Mar 27, 2025
@bckohan bckohan self-assigned this Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING A change that is not backwards compatible.
Projects
None yet
Development

No branches or pull requests

1 participant