class UnicodeConverter(BaseConverter):
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>')
Parameters | |
map | the Map . |
minlength | the minimum length of the string. Must be greater or equal 1. |
maxlength | the maximum length of the string. |
length | the exact length of the string. |
Method | __init__ |
Undocumented |
Instance Variable | regex |
Undocumented |
Inherited from BaseConverter
:
Method | to_python |
Undocumented |
Method | to_url |
Undocumented |
Class Variable | weight |
Undocumented |
Instance Variable | map |
Undocumented |
werkzeug.routing.BaseConverter.__init__
Undocumented
Parameters | |
map:Map | Undocumented |
minlength:int | Undocumented |
maxlength:t.Optional[ | Undocumented |
length:t.Optional[ | Undocumented |