forked from orbit-oss/flask
Remove the word trivially here
A lot of things are trivial, or debatably trivial, but this is not one of them :)
This commit is contained in:
parent
b471df6c88
commit
a4b335a64a
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ this code to get the current user::
|
||||||
return user
|
return user
|
||||||
|
|
||||||
For a test it would be nice to override this user from the outside without
|
For a test it would be nice to override this user from the outside without
|
||||||
having to change some code. This can trivially be accomplished with
|
having to change some code. This can be accomplished with
|
||||||
hooking the :data:`flask.appcontext_pushed` signal::
|
hooking the :data:`flask.appcontext_pushed` signal::
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue