@handle_response_format
@treeio_login_required
@module_admin_required()
def index_pages(request, response_format='html'):
 pages = Page.objects.all().order_by('name')
 folders = PageFolder.objects.all().order_by('name')
 return render_to_response('core/administration/index_pages', {'pages': pages, 'folders': folders}, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required @ module_admin_required ( ) def index_pages ( request , response_format = 'html' ) : pages = Page . objects . all ( ) . order_by ( 'name' ) folders = PageFolder . objects . all ( ) . order_by ( 'name' ) return render_to_response ( 'core/administration/index_pages' , { 'pages' : pages , 'folders' : folders } , context_instance = RequestContext ( request ) , response_format = response_format )
static pages list .