Skip to content

Commit

Permalink
Remove 'exclude' clause from default Changeset queryset (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Jan 18, 2024
1 parent ba30e77 commit bb038f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osmchadjango/changeset/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ChangesetListAPIView(ListAPIView):

queryset = Changeset.objects.all().select_related(
'check_user'
).prefetch_related('tags', 'reasons').exclude(user="")
).prefetch_related('tags', 'reasons')
permission_classes = (IsAuthenticated,)
pagination_class = StandardResultsSetPagination
renderer_classes = (JSONRenderer, BrowsableAPIRenderer, PaginatedCSVRenderer)
Expand Down

0 comments on commit bb038f1

Please sign in to comment.