Open the session after the request context is pushed on the stack instead of in the constructor. This allows you to access the request context in a custom open_session method.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by mvantellingen · committed by Armin Ronacher · parent da00160 · Browse files · 1 file+8 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
Diff stats
1 file+8 added−3 removed
- other:+8 added−3 removed