title: redirect to another page in django
body: <p>I want to redirect in page post_list but it is redirect to the same page.</p>
  
  <pre><code>def registration(request):
      if request.POST:
          form = MyRegistrationForm(request.POST)
          print request.POST
          print form.errors
          if form.is_valid():
              form.save()
              return redirect('site1/post_list/')
      else:
          form= MyRegistrationForm()
      return render(request,'registration.html',{'form':form})
  </code></pre>