--- a/app/soc/views/site/user/list.py Thu Oct 16 23:26:58 2008 +0000
+++ b/app/soc/views/site/user/list.py Thu Oct 16 23:31:57 2008 +0000
@@ -23,10 +23,9 @@
from soc.logic import models
-from soc.logic.site import id_user
from soc.views import helper
-from soc.views import simple
from soc.views.helper import access
+from soc.views.helper import decorators
import soc.logic
import soc.models.user
@@ -37,7 +36,7 @@
DEF_SITE_USER_LIST_ALL_TMPL = 'soc/site/user/list/all.html'
-
+@decorators.view
def all(request, page=None, template=DEF_SITE_USER_LIST_ALL_TMPL):
"""Show a list of all Users (limit rows per page).
@@ -78,5 +77,4 @@
request, context, users,
offset=offset, limit=limit, list_templates=list_templates)
- return helper.responses.respond(request, template, context)
-
+ return helper.responses.respond(request, template, context)
\ No newline at end of file