1👍
In order to trigger the session, it must be like this:
request.session['travellers'] = lroute.traveller.all().count()
//other session here
To get and use the data, it must be:
travellers = request.session.get('travellers')
Source:stackexchange.com