可以在重定向中添加GET变量吗?(无需修改我的urls.py)
如果我做 redirect('url-name', x)
redirect('url-name', x)
我明白了 HttpResponseRedirect('/my_long_url/%s/', x)
HttpResponseRedirect('/my_long_url/%s/', x)
我没有抱怨使用HttpResponseRedirect('/my_long_url/%s/?q=something', x),但只是想知道......
HttpResponseRedirect('/my_long_url/%s/?q=something', x)
django redirect django-urls django-views
django ×1
django-urls ×1
django-views ×1
redirect ×1