在Django視圖中設(shè)置session變量后,怎么在模板中讀取變量呢?request.session['username'] = 'carl'在模板中讀取如下:{{ request.session.username}}