Re: Custom SQL issues

2008-07-21 Thread Karantir
I've just find out, that explicit transaction.commit() in my view eliminates the problem. But i want django to commit pending transactions automatically. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Custom SQL issues

2008-07-21 Thread Karantir
adding transaction.commit_unless_management() to the end of my move() function solve the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Custom SQL issues

2008-07-21 Thread Karantir
Hi, guys ) I'm expecting some troubles with performing custom SQL. Could you help me please? I'm using nested sets method to store tree in Postgres DB. So i've wrote decorators for tree model manager to perform generic tree functions like move, create, delete etc. It's strange, but when i'm