diff --git a/src/flask/globals.py b/src/flask/globals.py index e2c410cc5b..8a4ba1b3ac 100644 --- a/src/flask/globals.py +++ b/src/flask/globals.py @@ -17,7 +17,7 @@ _no_app_msg = """\ Working outside of application context. -This typically means that you attempted to use functionality that needed +This typically means that you attempted to use functionality that's needed the current application. To solve this, set up an application context with app.app_context(). See the documentation for more information.\ """ @@ -35,7 +35,7 @@ _no_req_msg = """\ Working outside of request context. -This typically means that you attempted to use functionality that needed +This typically means that you attempted to use functionality that's needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem.\ """