removed course_enrollment hint from UserDetail mobile api view. TNL-3452

This commit is contained in:
Brian Beggs
2015-10-01 13:45:01 -04:00
parent b73bf35899
commit 619768f741

View File

@@ -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'