Merge pull request #1622 from normanjaeckel/User

Fix docstrings.
This commit is contained in:
Norman Jäckel 2015-09-06 13:29:16 +02:00
commit da304ccc35

View File

@ -61,7 +61,7 @@ class UserViewSet(ModelViewSet):
""" """
Customized view endpoint to list all user. 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) response = super().list(request, *args, **kwargs)
self.extract_default_password(response) self.extract_default_password(response)
@ -71,7 +71,7 @@ class UserViewSet(ModelViewSet):
""" """
Customized view endpoint to retrieve a user. 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) response = super().retrieve(request, *args, **kwargs)
self.extract_default_password(response) self.extract_default_password(response)