Thursday, May 30, 2013

Re: current transaction is aborted, commands ignored until end of transaction block

Hi

The easiest way to finding the causing error in my opinion is to execute the generated queries by hand in a psql shell. Normally I had a mismatch between model definitions and table layouts in the database.
But at the end I also had a logical error with handling the transactions in the code.

Regards,
Philip


> The error is : "current transaction is aborted, commands ignored until end
> of transaction block",

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment