title: django redirect() with parameters
body: <p>There have been several similar questions asked already but I couldn't find answer to my problem after spending loong hours.</p>
  
  <p>In the code below when I redirect to "anotherView" from "myView" with parameter "username", it works fine as expected. But I need to include "range" parameter in this redirect too as this "range" is required for the template used after redirection. Whenever I try to do, I get several errors like:</p>
  
  <p>-- "Don't mix *args and **kwargs in call to reverse()" </p>
  
  <p>Is there a way to manage this the way I want?</p>
  
  <pre><code>   def myView(request):
        if request.user.is_authenticated():
          if request.method == 'POST':
                  #my code comes here
                  ....
                  return redirect('anotherView', username=request.user.username, {"range": range(int(layout))})
  
  
  
     def anotherView(request,username):
        if request.user.is_authenticated():
          #my code comes here
            ....
            return redirect(something)
  </code></pre>