def session_view(request):
    request.session['tobacconist'] = 'hovercraft'
    
    t = Template('This is a view that modifies the session.', 
                 name='Session Modifying View Template')
    c = Context()
    return HttpResponse(t.render(c))
A view that modifies the session
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/lib/django/tests/modeltests/test_client/views.py/session_view