Team API include correct info when expanding users TNL-2975
Create read-only serializer to handle User/UserProfile data together. Refactor GET accounts to use the new read-only joint serializer Fix tests to check for new expanded user info Update tests in teams/tests/test_views.py to test for both public and private profiles on expands user Update serializer to utilize the request object for creating absolute uris
Showing
- lms/djangoapps/student_profile/test/test_views.py 2 additions, 1 deletionlms/djangoapps/student_profile/test/test_views.py
- lms/djangoapps/student_profile/views.py 4 additions, 7 deletionslms/djangoapps/student_profile/views.py
- lms/djangoapps/teams/__init__.py 12 additions, 0 deletionslms/djangoapps/teams/__init__.py
- lms/djangoapps/teams/plugins.py 1 addition, 2 deletionslms/djangoapps/teams/plugins.py
- lms/djangoapps/teams/serializers.py 13 additions, 4 deletionslms/djangoapps/teams/serializers.py
- lms/djangoapps/teams/tests/test_views.py 106 additions, 18 deletionslms/djangoapps/teams/tests/test_views.py
- lms/djangoapps/teams/views.py 4 additions, 18 deletionslms/djangoapps/teams/views.py
- lms/djangoapps/verify_student/tests/test_views.py 3 additions, 1 deletionlms/djangoapps/verify_student/tests/test_views.py
- lms/envs/common.py 19 additions, 0 deletionslms/envs/common.py
- openedx/core/djangoapps/user_api/accounts/api.py 31 additions, 48 deletionsopenedx/core/djangoapps/user_api/accounts/api.py
- openedx/core/djangoapps/user_api/accounts/image_helpers.py 9 additions, 3 deletionsopenedx/core/djangoapps/user_api/accounts/image_helpers.py
- openedx/core/djangoapps/user_api/accounts/serializers.py 118 additions, 3 deletionsopenedx/core/djangoapps/user_api/accounts/serializers.py
- openedx/core/djangoapps/user_api/accounts/tests/test_api.py 31 additions, 15 deletionsopenedx/core/djangoapps/user_api/accounts/tests/test_api.py
- openedx/core/djangoapps/user_api/accounts/tests/test_views.py 2 additions, 1 deletion...edx/core/djangoapps/user_api/accounts/tests/test_views.py
- openedx/core/djangoapps/user_api/accounts/views.py 1 addition, 5 deletionsopenedx/core/djangoapps/user_api/accounts/views.py
- openedx/core/djangoapps/user_api/tests/test_views.py 8 additions, 2 deletionsopenedx/core/djangoapps/user_api/tests/test_views.py
Loading
Please register or sign in to comment