Skip to content

Commit

Permalink
update documentation of the CurrentUserDetailAPIView
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Jan 23, 2018
1 parent aad11ce commit a707b08
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions osmchadjango/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a707b08

Please sign in to comment.