Django session doesn't work in Firefox

前端 未结 1 351
终归单人心
终归单人心 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)
提交回复
热议问题