How to add session on Django

Hi,
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

<table>

        <tr>

            <th>Type</th>

            <th>Price</th>

        </tr>

        <tr>

            <td>{{request.session.a_set}}</td>

            <td>{{request.session.price}}</td>

        </tr>

    </table>

This is how my views.py looks like:

def ski_info(request):

    print(request.POST)

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

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

    return redirect('/rentsummary')