Commit 619768f7 by Brian Beggs

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

parent b73bf358
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment