Remove 'distinct' call (#4)

This commit is contained in:
Iwo Herka 2018-06-21 14:29:25 +02:00
parent dcfd8e4e7e
commit d60614ffb7

View file

@ -261,7 +261,7 @@ class EavQuerySet(QuerySet):
Pass *args* and *kwargs* through ``eav_filter``, then pass to
the ``models.Manager`` filter method.
'''
return super(self.__class__, self).filter(*args, **kwargs).distinct()
return super(self.__class__, self).filter(*args, **kwargs)
@eav_filter
def exclude(self, *args, **kwargs):
@ -269,7 +269,7 @@ class EavQuerySet(QuerySet):
Pass *args* and *kwargs* through ``eav_filter``, then pass to
the ``models.Manager`` exclude method.
'''
return super(self.__class__, self).exclude(*args, **kwargs).distinct()
return super(self.__class__, self).exclude(*args, **kwargs)
@eav_filter
def get(self, *args, **kwargs):