(self, name, value, attrs)
| 805 | } |
| 806 | |
| 807 | def get_context(self, name, value, attrs): |
| 808 | context = super().get_context(name, value, attrs) |
| 809 | context["widget"]["optgroups"] = self.optgroups( |
| 810 | name, context["widget"]["value"], attrs |
| 811 | ) |
| 812 | return context |
| 813 | |
| 814 | def id_for_label(self, id_, index="0"): |
| 815 | """ |
nothing calls this directly
no test coverage detected