Flask Documentation (1.1.x)
sensible default is returned. Changelog raise_routing_exception(request) Exceptions that are recording during routing are reraised with this method. During debug we are not reraising redirect requests set on the blueprint. Parameters: Parameters: Calls the blueprint’s register() method after recording the blueprint in the application’s blueprints. blueprint – The blueprint to register. url_prefix ahead of time. It uses the same decorators as Flask, but defers the need for an application by recording them for later registration. Decorating a function with a blueprint creates a deferred function0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
default is returned. New in version 0.7. raise_routing_exception(request) Exceptions that are recording during routing are reraised with this method. During debug we are not reraising redirect requests will override the defaults set on the blueprint. Calls the blueprint’s register() method after recording the blueprint in the application’s blueprints. Parameters • blueprint – The blueprint to register ahead of time. It uses the same decorators as Flask, but defers the need for an application by recording them for later registration. Decorating a function with a blueprint creates a deferred function0 码力 | 291 页 | 1.25 MB | 1 年前3
共 2 条
- 1
相关搜索词