Mercurial > public > src > rhodecode
diff pylons_app/controllers/users.py @ 151:988477a05db6
moved sqlalchemy session to base.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 15 May 2010 19:05:13 +0200 |
parents | 20dc7a5eb748 |
children | b68b2246e5a6 |
line wrap: on
line diff
--- a/pylons_app/controllers/users.py Wed May 12 10:33:24 2010 +0200 +++ b/pylons_app/controllers/users.py Sat May 15 19:05:13 2010 +0200 @@ -5,7 +5,6 @@ from pylons_app.lib.base import BaseController, render from formencode import htmlfill -from pylons_app.model import meta from pylons_app.model.db import Users, UserLogs from pylons_app.lib.auth import authenticate import crypt @@ -20,10 +19,8 @@ @authenticate def __before__(self): - c.admin_user = session.get('admin_user') c.admin_username = session.get('admin_username') - self.sa = meta.Session def index(self, format='html'): """GET /users: All items in the collection"""