def case_insensitive(self, fields_dict):
if hasattr(self.model, '<STR_LIT>'):<EOL><INDENT>for field in self.model.CASE_INSENSITIVE_FIELDS:<EOL><INDENT>if field in fields_dict:<EOL><INDENT>fields_dict[field + '<STR_LIT>'] = fields_dict[field]<EOL>del fields_dict[field]<EOL><DEDENT><DEDENT><DEDENT>
Converts queries to case insensitive for special fields.