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

related to https://code.djangoproject.com/ticket/23112