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.
精彩评论