Skip to content

Commit

Permalink
Use plain django_filters.filter.Filter for allowed_org
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlandia committed Jul 7, 2023
1 parent 8849867 commit c283075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/appsembler/openedx_api/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c283075

Please sign in to comment.