Django 5: grouped choices
boxed opened this issue · comments
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.