@check_login_required
@check_local_site_access
def users_list(request, local_site=None, template_name=u'datagrids/datagrid.html'):
 grid = UsersDataGrid(request, local_site=local_site)
 return grid.render_to_response(template_name)

@ check_login_required @ check_local_site_access def users_list ( request , local_site = None , template_name = u'datagrids/datagrid.html' ) : grid = UsersDataGrid ( request , local_site = local_site ) return grid . render_to_response ( template_name )
display a list of all users .