From a707b084884bd4acc0596e1b78216b2e8f7726db Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Tue, 23 Jan 2018 19:06:46 -0200 Subject: [PATCH] update documentation of the CurrentUserDetailAPIView --- osmchadjango/users/views.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/osmchadjango/users/views.py b/osmchadjango/users/views.py index 3d4db80f..357cf338 100644 --- a/osmchadjango/users/views.py +++ b/osmchadjango/users/views.py @@ -22,11 +22,9 @@ class CurrentUserDetailAPIView(RetrieveUpdateAPIView): get: Get details of the current logged user. patch: - Update details of the current logged user. It's allowed only to update the - email address. + Update details of the current logged user. put: - Update details of the current logged user. It's allowed only to update the - email address. + Update details of the current logged user. """ permission_classes = (IsAuthenticated,) serializer_class = UserSerializer