From bb038f164f174783775927d14ccc63366f9f2761 Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Thu, 18 Jan 2024 18:41:22 -0300 Subject: [PATCH] Remove 'exclude' clause from default Changeset queryset (#652) --- osmchadjango/changeset/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osmchadjango/changeset/views.py b/osmchadjango/changeset/views.py index 587733ba..9a8fdd25 100644 --- a/osmchadjango/changeset/views.py +++ b/osmchadjango/changeset/views.py @@ -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)