Skip to content

Commit

Permalink
test: remove some code for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AfaqShuaib09 committed May 2, 2024
1 parent 2372c09 commit 93f0a2d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions course_discovery/apps/course_metadata/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,11 @@ class CourseRunAdmin(SimpleHistoryAdmin):
save_error = False
form = CourseRunAdminForm

def get_queryset(self, request):
"""
Override the default queryset to show all course runs, including restricted ones.
"""
return self.model.everything_with_restricted_runs.all();
# def get_queryset(self, request):
# """
# Override the default queryset to show all course runs, including restricted ones.
# """
# return self.model.everything_with_restricted_runs.all();

def get_readonly_fields(self, request, obj=None):
"""
Expand Down

0 comments on commit 93f0a2d

Please sign in to comment.