def get_field_and_lookup(self, name):
name = self.get_queryset().model._meta.get_field(name)<EOL>lookup_prefix = '<STR_LIT>'<EOL>return name, lookup_prefix<EOL>
Returns field instance and lookup prefix for given attribute name.
Can be overloaded in subclasses to provide filtering across multiple models.