Files
edx-platform/common/djangoapps/enrollment/paginators.py
Guruprasad Lakshmi Narayanan df45fe8317 Create a staff-only API to list all course enrollments
This data can be used by external frontends or other apps. The list
of course enrollments can optionally be filtered by course id or
usernames.
2019-01-08 17:27:46 +05:30

12 lines
264 B
Python

"""
Paginators for the course enrollment related views.
"""
from rest_framework.pagination import CursorPagination
class CourseEnrollmentsApiListPagination(CursorPagination):
"""
Paginator for the Course enrollments list API.
"""
page_size = 100