diff --git a/filters/decorators.py b/filters/decorators.py index 2591848..827f166 100644 --- a/filters/decorators.py +++ b/filters/decorators.py @@ -14,5 +14,5 @@ def decorated(self): # This dict will hold exclude kwargs to pass in to Django ORM calls. db_excludes = queryset_filters['db_excludes'] - return queryset.filter(**db_filters).exclude(**db_excludes) + return queryset.filter(**db_filters).exclude(**db_excludes).distinct() return decorated