I'm setting the session value for a variable in my as follows
request.session['a'] = True
request.session.set_expiry(604800)
If I access the session in my template as follows, it shows it's value
{{ request.session.a }}
How can I get the session expiry date for this in my template?
I tried {{ request.session.a.get_expiry_date }}
and {{ request.session.a.expire_date }}
but both did not work.