Implemented flask.has_request_context()

This commit is contained in:
Armin Ronacher 2011-03-14 16:13:58 -04:00
parent f58c98904f
commit fbd488678f
5 changed files with 48 additions and 0 deletions

View file

@ -224,6 +224,8 @@ Useful Functions and Classes
This is a proxy. See :ref:`notes-on-proxies` for more information.
.. autofunction:: has_request_context
.. autofunction:: url_for
.. function:: abort(code)