0

with のビューで with から値のリストを渡したいHttpResponseRedirect。セッション変数は必要ありません。この機能をどのように行うことができますかは次のとおりです。

def fun_one(request):
        x = [a,b,c,d]
    y = [1,2,3,4]
    return HttpResponseRedirect('/fun_two/')
def fun_two(request):
    .
    .
    .
    print "i want use function One values x & y here"
4

1 に答える 1