|
From: Ryan F. <rf...@gm...> - 2007-04-04 15:31:22
|
On 4/2/07, William Waites <ww...@gr...> wrote: > On Sun, Apr 01, 2007 at 11:55:39PM -0700, Ryan Fugger wrote: > > > > I just kept the code I had under django 0.91 because it worked. It > > would probably work fine to just replace psycopg with psycopg2...? > > But what you have looks even better. > > ... except that it doesn't work -- I finally got things to a state > where I could make offers of credit and such, and this bit of code > ends up with the 'Transaction Aborted commands ignored to end of > transaction' exception. Almost correct though... Maybe something to do with the payment.pay function being set to autocommit (done below the function, not with decorators)....? Ryan |