From c283075e4313ec5a62023d10c9c382d3af681cab Mon Sep 17 00:00:00 2001 From: Bryan Wilson Date: Fri, 7 Jul 2023 16:23:15 -0700 Subject: [PATCH] Use plain django_filters.filter.Filter for allowed_org --- openedx/core/djangoapps/appsembler/openedx_api/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/appsembler/openedx_api/filters.py b/openedx/core/djangoapps/appsembler/openedx_api/filters.py index d7616b7c5de..8407f543f4c 100644 --- a/openedx/core/djangoapps/appsembler/openedx_api/filters.py +++ b/openedx/core/djangoapps/appsembler/openedx_api/filters.py @@ -81,7 +81,7 @@ class AllowedCourseOrgFilterSet(filters.FilterSet): # TODO: Allow a superuser to bypass filter - allowed_org = filters.BooleanFilter(method="filter_allowed_org") + allowed_org = filters.Filter(method="filter_allowed_org") def filter_allowed_org(self, queryset, name, value): import pdb; pdb.set_trace()