title: Django HttpResponseRedirect with int parameter
body: <p>I want to pass an int parameter (<code>user_id</code>) from a login view to another view. Is that possible within an <code>HttpResponseRedirect</code>? I try something like this: </p>
  
  <pre><code>return HttpResponseRedirect("/profile/?user_id=user.id")
  </code></pre>
  
  <p>While my urlconf is:</p>
  
  <pre><code>(r'^profile/(?P&lt;user_id&gt;\d+)/$', '...')
  </code></pre>
  
  <p>But I don't know if that's the right way. Any suggestions?</p>