from django.conf import settings
from django import forms
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.http import HttpRequest
from django.contrib.auth import authenticate, login, logout
from django_mako_plus.controller import view_function
from django_mako_plus.controller.router import get_renderer
import homepage.models as hmod

templater = get_renderer('homepage')

######################################################
###  Edit a user
@view_function
def process_request(request):
  logout(request)
  return HttpResponseRedirect('/homepage/index/')

