Back to index

moin  1.9.0~rc2
Classes | Functions
MoinMoin.action.newpage Namespace Reference

Classes

class  NewPage

Functions

def execute

Detailed Description

    MoinMoin - newpage action

    Create a new page with optional template. Can be used with NewPage.py macro.

    @copyright: 2004 Vito Miliano (vito_moinnewpagewithtemplate@perilith.com),
        2004 Nir Soffer <nirs@freeshell.org>,
        2004 Alexander Schremmer <alex AT alexanderweb DOT de>
        2008 MoinMoin:ReimarBauer
    @license: GNU GPL, see COPYING for details.

Function Documentation

def MoinMoin.action.newpage.execute (   pagename,
  request 
)
Temporary glue code for current moin action system 

Definition at line 98 of file newpage.py.

00098 
00099 def execute(pagename, request):
00100     """ Temporary glue code for current moin action system """
00101     if request.method != 'POST':
00102         return False, u''
00103 
00104     return NewPage(request, pagename).render()
00105 

Here is the call graph for this function: