def get_field(self, name, many_to_many=True):
        """
        Returns the requested field by name. Raises FieldDoesNotExist on error.
        """
        to_search = many_to_many and (self.fields + self.many_to_many) or self.fields
        for f in to_search:
            if f.name == name:
                return f
        raise FieldDoesNotExist, (self.object_name, name) % '%s has no field named %r'
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/db/models/options.py/Options.get_field/swapped operands of `%`