How to get session variable in class Meta django?

后端 未结 0 372
余生分开走
余生分开走 2021-01-25 13:58

def getdb(): print(request.session[\'process\']) return request.session[\'process\'] I need to access this function in class Meta: in django

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