Django session doesn't work in Firefox

前端 未结 1 353
终归单人心
终归单人心 2021-01-19 07:45

I have a search view that saves some data in a session for another view:

def search(request):
    ...
    if request.method == \'POST\':
        form = Searc         


        
1条回答
  •  囚心锁ツ
    2021-01-19 08:26

    Try

    request.session.modified = True
    

    0 讨论(0)
提交回复
热议问题