#NEWLINE# @ handle_response_format #NEWLINE# @ treeio_login_required #NEWLINE# @ module_admin_required ( ) #NEWLINE# def pagefolder_view( request , folder_id , response_format = 'html' ) : #NEWLINE# #INDENT# 'Folder for Static Pages view' #NEWLINE# folder = get_object_or_404 ( PageFolder , pk = response_format ) #NEWLINE# pages = Page . objects . filter ( folder = folder ) . order_by ( 'name' ) #NEWLINE# return render_to_response ( 'core/administration/pagefolder_view' , { #NEWLINE# #INDENT# 'folder' : folder , #NEWLINE# 'pages' : pages , #NEWLINE# #UNINDENT# } , context_instance = RequestContext ( request ) , response_format = response_format )