What is the difference render() and redirect() in Django?
<p>What's difference between</p>

<pre><code>def post(self, request, *args, **kwargs):
    if form.is_valid():
        order = form.save(commit=False)
        order.user = request.user
        order.save()
        return redirect('orders:success')
</code></pre>

<p>and</p>

<pre><code>def post(self, request, *args, **kwargs):
    if form.is_valid():
        order = form.save(commit=False)
        order.user = request.user
        order.save()
        return render(
            request,
            'orders/success.html',
            {}
        )
</code></pre>

<p>I think these are totally same.</p>

<p>Any difference?</p>