[Answer]-Working with pending trigger event in Django 1.4

1👍

Ok, so typically this error occurs when previous statements in a transaction have created pending trigger events (these include foreign key references). Typically you want to make sure:

  1. any alter table queries are near the beginning of the transaction, and

  2. you are aware of how the entire transaction flow runs.

Leave a comment