def logout(request):
    request.session['nickname'] = None
    request.session['key'] = None
    return HttpResponseRedirect('/')
Log a user out.
dataset/ETHPy150Open bgolub/fftogo/fftogo/views.py/logout