Which is it better to use generally?
https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#redirect
https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpResponseRedirect
Is there any advantage to writing:
return redirect(my_url)
over:
return HttpResponseRedirect(my_url)
Or is it a direct alias? Is there any difference? Which is more pythonic/django-nic?