From 5fc215c3599ea515c841d4eb5cfaa696458de8f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Sun, 6 Sep 2015 11:38:17 +0200 Subject: [PATCH] Fix docstrings. --- openslides/users/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/users/views.py b/openslides/users/views.py index 5e91c8902..b15ba3133 100644 --- a/openslides/users/views.py +++ b/openslides/users/views.py @@ -61,7 +61,7 @@ class UserViewSet(ModelViewSet): """ Customized view endpoint to list all user. - Does only the default_password check. + Hides the default_password for non admins. """ response = super().list(request, *args, **kwargs) self.extract_default_password(response) @@ -71,7 +71,7 @@ class UserViewSet(ModelViewSet): """ Customized view endpoint to retrieve a user. - Does only the default_password check. + Hides the default_password for non admins. """ response = super().retrieve(request, *args, **kwargs) self.extract_default_password(response)