def get_choices_for(self, field):
choices = self._fields[field].choices<EOL>if isinstance(choices, six.string_types):<EOL><INDENT>return [(d['<STR_LIT:value>'], d['<STR_LIT:name>']) for d in self._choices_manager.get_all(choices)]<EOL><DEDENT>else:<EOL><INDENT>return choices<EOL><DEDENT>
Get the choices for the given fields.

Args:
    field (str): Name of field.

Returns:
    List of tuples. [(name, value),...]