title: Django - cant pass parameter in HttpResponseRedirect
body: <p>I have read that after successfully dealing with post data, you should use HttpResponseRedirect to redirect to another page. I am building a URL shortener for learning purposes, the code from views.py is shown below: (Not working)</p>
  
  <pre><code>def makeurl(request):
      # get url from form
      post_url = request.POST['url']
      # shorten the url and have the short code returned
      shortened_url = shorten_url(post_url)
      return HttpResponseRedirect('create')    
  
  def create(request):
      return render(request, 'shorturl/create.html',
          {'shortened_url': shortened_url}) 
  </code></pre>
  
  <p>When my form is submitted to shorten the input URL, 'makeurl' is called, where the shortened URL is calculated and returned (shortened_utl). I then call 'create', which will render the page where 'shortened_url needs to be displayed to the user. </p>
  
  <p>The problem is, if i am to use HttpResponseRedirect, i have no way of passing the 'shortened_url' variable to my 'create' view to be rendered. Can anyone advice me with this? Im new to django, cheers</p>