Fix DRF deprecation warnings (#23082)
Fix all deprecation warnings generated by Django REST Framework during the unit tests: * ``The `base_name` argument is pending deprecation in favor of `basename`.`` (86 occurrences) * `` `detail_route` is deprecated and will be removed in 3.10 in favor of `action`, which accepts a `detail` bool. Use `@action(detail=True)` instead.`` (18 occurrences)
Showing
- cms/djangoapps/api/v1/urls.py 1 addition, 1 deletioncms/djangoapps/api/v1/urls.py
- cms/djangoapps/api/v1/views/course_runs.py 4 additions, 3 deletionscms/djangoapps/api/v1/views/course_runs.py
- common/djangoapps/entitlements/api/v1/urls.py 1 addition, 1 deletioncommon/djangoapps/entitlements/api/v1/urls.py
- lms/djangoapps/course_goals/urls.py 1 addition, 1 deletionlms/djangoapps/course_goals/urls.py
- lms/djangoapps/discussion/notifier_api/urls.py 1 addition, 1 deletionlms/djangoapps/discussion/notifier_api/urls.py
- lms/djangoapps/discussion/rest_api/urls.py 2 additions, 2 deletionslms/djangoapps/discussion/rest_api/urls.py
- lms/djangoapps/experiments/routers.py 2 additions, 2 deletionslms/djangoapps/experiments/routers.py
- lms/djangoapps/experiments/urls.py 2 additions, 2 deletionslms/djangoapps/experiments/urls.py
Please register or sign in to comment