def post(self, request, format=None):
serializer_class = self.get_serializer_class()<EOL>serializer = serializer_class(data=request.data, instance=request.user)<EOL>if serializer.is_valid():<EOL><INDENT>serializer.save()<EOL>return Response({'<STR_LIT>': _(u'<STR_LIT>')})<EOL><DEDENT>return Response(serializer.errors, status=<NUM_LIT>)<EOL>
validate password change operation and return result