forked from MarseyWorld/MarseyWorld
expunge all instances when the request is done
parent
4564dddfab
commit
a9a2ba7038
|
@ -66,4 +66,5 @@ def after_request(response:Response):
|
|||
@app.teardown_appcontext
|
||||
def teardown_request(error):
|
||||
db.rollback()
|
||||
db.expunge_all()
|
||||
stdout.flush()
|
||||
|
|
Loading…
Reference in New Issue