Re: DB ProgrammingError

2007-08-06 Thread James Bennett
On 8/6/07, Michal <[EMAIL PROTECTED]> wrote: > Is there some similar function please? (I read somewhere how to do this, > but forgot it, and solution wasn't so straightforward). You will need to find some way to issue a ROLLBACK statement to your database. One such way is from django.db import c

DB ProgrammingError

2007-08-06 Thread Michal
Hello, is there some shortcut in Django to "reset" database engine to accept next DB queries, when I receive error like "ProgrammingError: ERROR: current transaction is aborted, commands ignored until end of transaction block" in shell? I often meet situation, when try some new code in ./manag