title: got multiple values for keyword argument 'response' - django
body: <p>I am getting this error
  <code>json_response_message() got multiple values for keyword argument 'response'</code></p>
  
  <p>I figured how I get this error though but I just cannot find out a workaround for this, is there anyone able to give me a hand?</p>
  
  <p>the reason for this error is because of this line</p>
  
  <pre><code>return json_response_message(success_response(), response=response)
  </code></pre>
  
  <p>these are the two functions I created and they work fine though,</p>
  
  <pre><code>def json_response_message(response, **kwargs):
      data = {}
      print(response)
      print(kwargs)
      data.update(response)
      data.update(kwargs)
  
      return JsonResponse(data)
  
  
  def success_response(*args):
      # initial message to ok
      message = 'OK'
  
      # if there is *args then add this to the message
      if args:
          for value in args:
              message += value
  
      return {
          'status': True,
          'code': 200,
          'message': message
      }
  </code></pre>
  
  <p>I figured if I do something like this, everything would work fine</p>
  
  <pre><code>return json_response_message(success_response(), change_this=response)
  </code></pre>
  
  <p>is it because <code>response</code> is a reserved word or something? either way, is there a way I can still make it happen to be <code>response=response</code> ? Because all the structure in front end has already been set up.  I don't really want to change anything if I don't have to as long as I have some workaround on my side.</p>
  
  <p>Can someone please give me a hand?  Thanks in advance</p>