Look a little closer at the error message:

Error:
>
> insert or update on table "myapp_log" violates foreign key constraint 
> "myapp_log_account_id_6ea8d7a6_fk_myapp_account_id"
> DETAIL:  Key (account_id)=(11) is not present in table "myapp_account".
>
> It's happening this error rather than the exception.
>

The table is myapp_log, not myapp_carlog. The error isn't in the
post_delete signal you're showing up. Do you have a post_delete for Account
objects?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD4ANxXa4NNr9kX6DDgfhZYBE%3DZxUnwrLKVxpe1_%2B%3DirYGK%3DRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to