Skip to content
Myr

Merge pull request #1313 from homeworkprod/patch-1

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

Added missing import.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 5b98266, e3bb34e · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/testing.rst+1 added-1 removed
274 unmodified lines
275having to change some code. This can trivially be accomplished with276hooking the :data:`flask.appcontext_pushed` signal::277278 from contextlib import contextmanager279 from flask import appcontext_pushed279 from flask import appcontext_pushed, g280281 @contextmanager282 def user_set(app, user):283 def handler(sender, **kwargs):
70 unmodified lines