Closed allynt closed 3 years ago
Added user to context of UserSerializer so that it is available to the corresponding UserProfileSerializers. Just in case any of them need access to it for their own nested serializers.
UserSerializer
UserProfileSerializers
This is a bit convoluted b/c of https://github.com/encode/django-rest-framework/issues/2555.
Added user to context of
UserSerializer
so that it is available to the correspondingUserProfileSerializers
. Just in case any of them need access to it for their own nested serializers.This is a bit convoluted b/c of https://github.com/encode/django-rest-framework/issues/2555.