fix: swagger docs ref_name conflicts (#36189)

* fix: swagger docs ref_name conflicts

* fix: swagger auto doc errors

* chore: bumps openedx-learning==0.18.2

---------

Co-authored-by: Jillian Vogel <jill@opencraft.com>
This commit is contained in:
Navin Karkera
2025-01-30 20:32:18 +05:30
committed by GitHub
parent 0ea4bae7b3
commit 5e51e2d5b7
14 changed files with 56 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ class CourseRunViewSet(viewsets.GenericViewSet): # lint-amnesty, pylint: disabl
lookup_value_regex = settings.COURSE_KEY_REGEX
permission_classes = (permissions.IsAdminUser,)
serializer_class = CourseRunSerializer
queryset = []
def get_object(self):
lookup_url_kwarg = self.lookup_url_kwarg or self.lookup_field