diff --git a/core/orgs/views.py b/core/orgs/views.py index 8423d8f6c..5a3ead4e6 100644 --- a/core/orgs/views.py +++ b/core/orgs/views.py @@ -130,9 +130,6 @@ def get_queryset(self): class OrganizationDetailView(OrganizationBaseView, mixins.UpdateModelMixin, mixins.CreateModelMixin, TaskMixin): - def get_queryset(self): - return super().get_queryset().filter(mnemonic=self.kwargs['org']) - def get_permissions(self): if self.request.method == 'DELETE': return [HasPrivateAccess(), ] diff --git a/core/users/serializers.py b/core/users/serializers.py index 68e373b6e..8fb76592d 100644 --- a/core/users/serializers.py +++ b/core/users/serializers.py @@ -23,7 +23,7 @@ class UserListSerializer(AbstractResourceSerializer): class Meta: model = UserProfile fields = AbstractResourceSerializer.Meta.fields + ( - 'username', 'name', 'url' + 'username', 'name', 'url', 'logo_url' )