OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, map, minlength=1, maxlength=None, length=None) |
![]() | |
def | __init__ (self, map) |
def | to_python (self, value) |
def | to_url (self, value) |
Data Fields | |
regex | |
![]() | |
map | |
Additional Inherited Members | |
![]() | |
regex | |
weight | |
This converter is the default converter and accepts any string but only one path segment. Thus the string can not include a slash. This is the default validator. Example:: Rule('/pages/<page>'), Rule('/<string(length=2):lang_code>') :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.
def __init__ | ( | self, | |
map, | |||
minlength = 1 , |
|||
maxlength = None , |
|||
length = None |
|||
) |
regex |