Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Docs: Use `with app.test_request_context():` in the script example. #86

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

SimonSapin commented Jun 23, 2012

Or does with app(): also work?

I saw this as well (and tested it with 0.9). with app(): does not work, but with app.test_request_context(): does.

@mitsuhiko mitsuhiko closed this in 46569ca Jul 31, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment