Skip to content

Provide setting to enable/disable converting choices to enums globally #1480

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

Closed
Flauschbaellchen opened this issue Dec 1, 2023 · 0 comments · Fixed by #1477
Closed

Provide setting to enable/disable converting choices to enums globally #1480

Flauschbaellchen opened this issue Dec 1, 2023 · 0 comments · Fixed by #1477

Comments

@Flauschbaellchen
Copy link
Contributor

In our project we want to disable the auto-convertion of Django choice fields to Enums for every model.
To specify convert_choices_to_enum = False on every Type is a bit cumbersome so a global setting would help a lot.

I've created a PR which showcases the improvement I have in mind: #1477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant