Skip to content
Myr

Added more versionadded directives

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 51a89bf · Browse files · 2 files+24 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

2 files+24 added−0 removed

  • other:+24 added−0 removed

2 files+24 added−0 removed

modified:flask/app.py+9 added
81 unmodified lines
82 an SQL query in debug mode. If the import name is not properly set83 up, that debugging information is lost. (For example it would only84 pick up SQL queries in `yourapplicaiton.app` and not85 `yourapplication.views.frontend`)8687 .. versionadded:: 0.588 The `static_path` parameter was added.8990 :param import_name: the name of the application package91 :param static_path: can be used to specify a different path for the92 static files on the web. Defaults to ``/static``.93 This does not affect the folder the files are served94 *from*.95 """9697 #: The class that is used for request objects. See :class:`~flask.Request`98 #: for more information.
747 unmodified lines
modified:flask/module.py+15 added
86 unmodified lines
87 pass8889 For a gentle introduction into modules, checkout the90 :ref:`working-with-modules` section.9192 .. versionadded:: 0.593 The `static_path` parameter was added.9495 :param import_name: the name of the Python package or module96 implementing this :class:`Module`.97 :param name: the internal short name for the module. Unless specified98 the rightmost part of the import name99 :param url_prefix: an optional string that is used to prefix all the100 URL rules of this module. This can also be specified101 when registering the module with the application.102 :param static_path: can be used to specify a different path for the103 static files on the web. Defaults to ``/static``.104 This does not affect the folder the files are served105 *from*.106 """107108 def __init__(self, import_name, name=None, url_prefix=None,109 static_path=None):
93 unmodified lines