API — Flask Documentation (1.1.x)
https://flask.palletsprojects.com/en/1.1.x/apiThe flask object implements a WSGI application and acts as the central object. It is passed the name of the module or package of the application. Once it is created it will act as a central registry for the view functions, the URL rules, template configuration and much more. The name of the package is used to resolve resources from inside the
API — Flask Documentation (1.1.x)
flask.palletsprojects.com › en › 1add_url_rule (rule, endpoint=None, view_func=None, **options) ¶ Like Flask.add_url_rule() but for a blueprint. The endpoint for the url_for() function is prefixed with the name of the blueprint. after_app_request (f) ¶ Like Flask.after_request() but for a blueprint. Such a function is executed after each request, even if outside of the blueprint.
flask.url_for — Flask API
tedboy.github.io › flask › generatedflask.url_for¶ flask.url_for (endpoint, **values) [source] ¶ Generates a URL to the given endpoint with the method provided. Variable arguments that are unknown to the target endpoint are appended to the generated URL as query arguments. If the value of a query argument is None, the whole pair is skipped.