def distinct(self, *field_names):
<INDENT>assert self.query.can_filter(),"<STR_LIT>"<EOL>obj = self._clone()<EOL>obj.query.add_distinct_fields(*field_names)<EOL>return obj<EOL><DEDENT>raise NotImplementedError()<EOL>
Returns a new QuerySet instance that will select only distinct results.