How to return both string and value within HttpResponse?
<p>I need the code to return a string and value in HttpResponse but it returns only first value(val). Why should I do to return both val and val2? String I will use as message and I need val in function return to use it as value in next function,something like this: </p>

<pre><code>def func1(request):
   data = json.loads(request.body)
   val = "string"
   val2 = data['email']
   return HttpResponse(val, val2)

def func2():
   val3 = func1
   val4 = "client %s" % val2
   if val4:
      return True
   else:
      return False
</code></pre>