From 619768f7410e41797dcb4d5f46cf597ea0ac7746 Mon Sep 17 00:00:00 2001 From: Brian Beggs Date: Thu, 1 Oct 2015 13:45:01 -0400 Subject: [PATCH] removed course_enrollment hint from UserDetail mobile api view. TNL-3452 --- lms/djangoapps/mobile_api/users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/mobile_api/users/views.py b/lms/djangoapps/mobile_api/users/views.py index d7e3dcc28c..2b695ecca7 100644 --- a/lms/djangoapps/mobile_api/users/views.py +++ b/lms/djangoapps/mobile_api/users/views.py @@ -60,7 +60,7 @@ class UserDetail(generics.RetrieveAPIView): """ queryset = ( User.objects.all() - .select_related('profile', 'course_enrollments') + .select_related('profile') ) serializer_class = UserSerializer lookup_field = 'username'