Open boxed opened 1 year ago
Is this not exactly what Field.choice_to_optgroup
does? (Although the documentation need some love)
Django has support for grouped choices even in earlier version as well. https://docs.djangoproject.com/en/4.2/ref/models/fields/#field-choices
Maybe. But in any case if there is such a mapping in models, iommi should by default convert it to the iommi native thing.
https://fosstodon.org/@davidsmith/110983392029067619