views/login.py cleaned up

This commit is contained in:
Tanshu 2012-12-13 14:03:51 +05:30
parent 3ccf641756
commit bb1858fe88

View File

@ -1,13 +1,11 @@
from datetime import date, timedelta
import uuid
from pyramid.httpexceptions import HTTPFound
from pyramid.response import Response
from pyramid.security import authenticated_userid, remember, forget
from pyramid.security import remember, forget
from pyramid.view import view_config
import transaction
from brewman import groupfinder
from brewman.models.auth import Role, User, Client
from brewman.models.auth import User, Client
@view_config(route_name='logout')
def logout(request):