1👍
✅
Choices need to be a list of tuples (value, display_value)
, as shown in the official documentation. If you want the display value to to be the same as the submitted value, you could do choices=[(obj.interest_name, obj.interest_name) for obj in obj_list]
, for example.
👤sk1p
Source:stackexchange.com