If you replace `ctnr` with `ctnr or request.session['ctnr']` in this line, you can get rid of the if-else and make it more apparent that the second argument is the only one subject to the conditional's logic.