通常使用哪一种更好?
Https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#redirect
Https://docs.djangoproject.com/en/dev/ref/request-response/#django.http
写作有什么好处:
return redirect(my_url)
完毕:
return HttpResponseRedirect(my_url)
还是直接的化名? 有什么区别吗? 哪个更像蟒蛇或姜戈?