"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/appcontext.rst" between
flask-1.1.1.tar.gz and flask-1.1.2.tar.gz

About: Flask is a lightweight Python WSGI web application framework.

appcontext.rst  (flask-1.1.1):appcontext.rst  (flask-1.1.2)
skipping to change at line 144 skipping to change at line 144
Accessing ``db`` will call ``get_db`` internally, in the same way that Accessing ``db`` will call ``get_db`` internally, in the same way that
:data:`current_app` works. :data:`current_app` works.
---- ----
If you're writing an extension, :data:`g` should be reserved for user If you're writing an extension, :data:`g` should be reserved for user
code. You may store internal data on the context itself, but be sure to code. You may store internal data on the context itself, but be sure to
use a sufficiently unique name. The current context is accessed with use a sufficiently unique name. The current context is accessed with
:data:`_app_ctx_stack.top <_app_ctx_stack>`. For more information see :data:`_app_ctx_stack.top <_app_ctx_stack>`. For more information see
:doc:`extensiondev`. :doc:`/extensiondev`.
Events and Signals Events and Signals
------------------ ------------------
The application will call functions registered with The application will call functions registered with
:meth:`~Flask.teardown_appcontext` when the application context is :meth:`~Flask.teardown_appcontext` when the application context is
popped. popped.
If :data:`~signals.signals_available` is true, the following signals are If :data:`~signals.signals_available` is true, the following signals are
sent: :data:`appcontext_pushed`, :data:`appcontext_tearing_down`, and sent: :data:`appcontext_pushed`, :data:`appcontext_tearing_down`, and
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)