@treeio_login_required
@module_admin_required()
def page_view(request, page_id, response_format='html'):
 page = get_object_or_404(Page, pk=page_id)
 return render_to_response('core/administration/page_view', {'page': page}, context_instance=RequestContext(request), response_format=response_format)

@ treeio_login_required @ module_admin_required ( ) def page_view ( request , page_id , response_format = 'html' ) : page = get_object_or_404 ( Page , pk = page_id ) return render_to_response ( 'core/administration/page_view' , { 'page' : page } , context_instance = RequestContext ( request ) , response_format = response_format )
static page view .