Skip to content
Myr

document Blueprint params

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by vdanain · committed by David Lord · parent f7f1d9d · Browse files · 1 file+18 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+18 added−0 removed

  • other:+18 added−0 removed

1 file+18 added−0 removed

modified:flask/blueprints.py+18 added
85 unmodified lines
86 or other things on the main application. See :ref:`blueprints` for more87 information.8889 .. versionadded:: 0.79091 :param name: the name of the Blueprint92 :param import_name: the name of the Blueprint package, __name__ most of the time.93 The module folder will be the blueprint resource folder by default.94 :param static_folder: you can serve your Blueprint static files by setting `static_folder`95 to the folder with static files to serve at `static_url`.96 The path can be absolute or relative to the Blueprint resource folder97 :param static_url: the url to serve static files from. Defaults to ``static_folder``.98 If your app's static_url is the same, your Blueprint's files won't be accessible.99 :param template_folder: your blueprint can expose template from this folder by adding this path100 to the search path of templates. The path can be absolute or relative to101 the Blueprint resource folder.102 :param url_prefix: url to prefix all the Blueprint routes.103 :param subdomain: If set up, Blueprint routes will match on this subdomain.104 :param url_defaults: Blueprint routes will use these default values for105 view arguments.106 :param root_path: you can specify a different root_path than the module folder.107 to become your Blueprint resource folder.108 """109110 warn_on_modifications = False111 _got_registered_once = False
354 unmodified lines