Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
MoinMoin.support.werkzeug.routing.PathConverter Class Reference
Inheritance diagram for MoinMoin.support.werkzeug.routing.PathConverter:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.werkzeug.routing.PathConverter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def to_python
def to_url

Public Attributes

 map

Static Public Attributes

string regex = '[^/].*?'
 is_greedy = True
int weight = 50

Detailed Description

Like the default :class:`UnicodeConverter`, but it also matches
slashes.  This is useful for wikis and similar applications::

    Rule('/<path:wikipage>')
    Rule('/<path:wikipage>/edit')

:param map: the :class:`Map`.
:param minlength: the minimum length of the string.  Must be greater
                  or equal 1.
:param maxlength: the maximum length of the string.
:param length: the exact length of the string.

Definition at line 804 of file routing.py.


Member Function Documentation

def MoinMoin.support.werkzeug.routing.BaseConverter.to_python (   self,
  value 
) [inherited]

Reimplemented in MoinMoin.support.werkzeug.routing.NumberConverter.

Definition at line 747 of file routing.py.

00747 
00748     def to_python(self, value):
00749         return value

def MoinMoin.support.werkzeug.routing.BaseConverter.to_url (   self,
  value 
) [inherited]

Reimplemented in MoinMoin.support.werkzeug.routing.NumberConverter.

Definition at line 750 of file routing.py.

00750 
00751     def to_url(self, value):
00752         return url_quote(value, self.map.charset)
00753 

Here is the call graph for this function:


Member Data Documentation

Reimplemented from MoinMoin.support.werkzeug.routing.BaseConverter.

Definition at line 818 of file routing.py.

Definition at line 745 of file routing.py.

Reimplemented from MoinMoin.support.werkzeug.routing.BaseConverter.

Definition at line 817 of file routing.py.

Reimplemented from MoinMoin.support.werkzeug.routing.BaseConverter.

Definition at line 819 of file routing.py.


The documentation for this class was generated from the following file: