from django_mako_plus import view_function
from django.http import HttpResponseRedirect
from django.contrib.auth import logout
from account import models as amod

@view_function
def process_request(request):

    logout(request)

    return HttpResponseRedirect('/homepage/index')

    context = {

    }
    return request.dmp.render('logout.html', context)
