module documentation
Undocumented
Class |
|
Prefixes all endpoints (which must be strings for this factory) with another string. This can be useful for sub applications:: |
Class |
|
A Rule represents one URL pattern. There are some options for `Rule` that change the way it behaves and are passed to the `Rule` constructor. Note that besides the rule-string all arguments *must* be keyword arguments in order to not break the application on Werkzeug upgrades. |
Class |
|
As soon as you have more complex URL setups it's a good idea to use rule factories to avoid repetitive tasks. Some of them are builtin, others can be added by subclassing `RuleFactory` and overriding `get_rules`. |
Class |
|
A part of a rule. |
Class |
|
Returns copies of the rules wrapped and expands string templates in the endpoint, rule, defaults or subdomain sections. |
Class |
|
A factory that fills in template variables into rules. Used by `RuleTemplate` internally. |
Class |
|
All URLs provided by this factory have the subdomain set to a specific domain. For example if you want to use the subdomain for the current language this can be a good setup:: |
Class |
|
Like `Subdomain` but prefixes the URL rule with a given string:: |
Class |
|
Undocumented |
Function | parse |
Undocumented |
Function | _find |
Find the *target* in *value* after *pos*. |
Function | _prefix |
ast parse and prefix names with `.` to avoid collision with user vars |
Function | _pythonize |
Undocumented |
Constant | _CALL |
Undocumented |
Constant | _IF |
Undocumented |
Constant | _IF |
Undocumented |
Constant | _PYTHON |
Undocumented |
Constant | _URL |
Undocumented |
Variable | _converter |
Undocumented |
Variable | _part |
Undocumented |
Variable | _simple |
Undocumented |