[Fixed]-Django dynamics ChoiceFields choices from APIs raises ValueError

1👍

From doc, Choices should be

An iterable (e.g., a list or tuple) consisting itself of iterables of exactly two items (e.g. [(A, B), (A, B) …]) to use as choices for this field. If this is given, the default form widget will be a select box with these choices instead of the standard text field

Leave a comment