Fix docstrings.
This commit is contained in:
parent
1fc7a361eb
commit
5fc215c359
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user