175865304e22cf6e4b9bb7a9650302dd20b0e853
[zzz-floof.git] / floof / controllers / users.py
1 import logging
2
3 from pylons import request, response, session, tmpl_context as c
4 from pylons.controllers.util import abort, redirect_to
5
6 from floof.lib.base import BaseController, render
7 from floof.model.users import User
8
9 log = logging.getLogger(__name__)
10
11 class UsersController(BaseController):
12
13 def list(self):
14 """List of all users."""
15
16 # TODO paging!
17 c.users = User.query.all()
18
19 return render('/users/index.mako')