开发者

How to debug Django variables, specifically the session variable?

I have tried using pprint to debug the session variable but it gives me a memory object like <8hfw89h> or something. How can I see the keys inside the session variable or furthermore any other variable in Django?

{{ debug }} does not give me what I ne开发者_StackOverflowed either.

Thanks


I would reccomend the django-debug-tool bar, It also provides alot more other information on load times and such too.

Goodluck.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜