Skip to content

Commit

Permalink
[#2364] Remove method that was used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
zzgvh committed Sep 27, 2016
1 parent 7ea090f commit aeca5d6
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions akvo/rest/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ class UserViewSet(BaseRSRViewSet):
'organisations__primary_location__location_target',)
serializer_class = UserSerializer

# def get_serializer(self, instance=None, data=None,
# files=None, many=False, partial=False):
#
# """
# Return the serializer instance that should be used for validating and
# deserializing input, and for serializing output.
# """
#
# ### DEBUG ###
# import pdb
# pdb.set_trace()
# ### DEBUG ###
#
# serializer_class = self.get_serializer_class()
# context = self.get_serializer_context()
# return serializer_class(instance, data=data, files=files,
# many=many, partial=partial, context=context)


@api_view(['POST'])
def change_password(request, pk=None):
Expand Down

0 comments on commit aeca5d6

Please sign in to comment.