How to display all session variables in django?
You can try like this
for key in request.session.keys():
print "key:=>" + request.session[key]
As referred by Daniel in comment.:
for key, value in request.session.items():
print('{} => {}'.format(key, value))
helpful answer: here and django docs