Django: How to access session data from views.py created outside of views.py

后端 未结 0 1169
不知归路
不知归路 2021-02-06 05:35

I need to pass a jwt token generated in backend.py to views.py.

In backend.py i save it like this:

s = SessionStore()
s[\'id_token\'] = id_token
s.create()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题