fixed #23112 -- Field.get_choices tries to index an iterable

related to https://code.djangoproject.com/ticket/23112
Iteration here should go over the local choices variable too!