From: Guillaume Pellerin Date: Sun, 31 Jan 2016 21:07:23 +0000 (+0100) Subject: don't flush X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=528ffd2a922fc28f77a835f2912c1e269717c229;p=diggersdigest.git don't flush --- diff --git a/app/records/models.py b/app/records/models.py index 116eaef..3695347 100644 --- a/app/records/models.py +++ b/app/records/models.py @@ -355,7 +355,7 @@ def payment_complete(sender, **kwargs): cart.delete() # renew the session (for logged in users) - session.flush() + #session.flush() except Order.DoesNotExist: pass