diff --git a/eox_core/api/data/v1/routers.py b/eox_core/api/data/v1/routers.py index a13844c70..498fcc905 100644 --- a/eox_core/api/data/v1/routers.py +++ b/eox_core/api/data/v1/routers.py @@ -17,4 +17,8 @@ ROUTER.register(r'certificates', CertificateViewSet, basename='generated_certificate') ROUTER.register(r'proctored-exams-attempts', ProctoredExamStudentViewSet) # Async operations -ROUTER.register(r'async/course-enrollments-grades', CourseEnrollmentWithGradesViewset) +ROUTER.register( + r'async/course-enrollments-grades', + CourseEnrollmentWithGradesViewset, + basename="async_course_enrollments_grades", +)