How to add session on Django

I’m trying to add session values to get a total price. In my html, it is the price I’m trying to add in the table.

I don’t have to use the table, I just have to add all the session values as they come up. They look like this: {{request.session.price}}

Thank you!

This is how my html looks like











This is how my looks like:

def ski_info(request):


    request.session['a_set'] = request.POST['equipment']

    request.session['price'] = request.POST['cost']

    return redirect('/rentsummary')