def avatar(self, request, pk=None): allow_self_only( request.user, pk, _("You can't change other users avatars.")) return avatar_endpoint(request)
def avatar(self, request, pk=None): allow_self_only(request.user, pk, _("You can't change other users avatars.")) return avatar_endpoint(request)