Django project looking for “attribute '_session_cache'”

前端 未结 4 806
暗喜
暗喜 2020-12-20 14:58

So I have a Django project that doesn\'t use a database (the \'DATABASES\' setting is commented out). I chose to use Django as there\'s a chance I will need the database fun

4条回答
  •  忘掉有多难
    2020-12-20 15:53

    For future Googlers - I ran into this issue and the above solutions did not work for me. What did work for me was clearing/deleting my cookies in Chrome for the 127.0.0.1 URL. So go to Settings or press CMD+, then Cookies and other site data, then find 127.0.0.1 or localhost and delete those cookies. Refresh the local dev host page and the error should be gone. This has something to do with a corrupted session / cookie file.

提交回复
热议问题