Stephen, CarLog is inheriting Log.
Em sábado, 23 de abril de 2016 17:14:57 UTC-3, Stephen Butler escreveu:
-- Em sábado, 23 de abril de 2016 17:14:57 UTC-3, Stephen Butler escreveu:
Look a little closer at the error message:Error:insert or update on table "myapp_log" violates foreign key constraint "myapp_log_account_id_It's happening this error rather than the exception.6ea8d7a6_fk_myapp_account_id" DETAIL: Key (account_id)=(11) is not present in table "myapp_account". 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+unsubscribe@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/92e72312-5678-428b-ad7f-360ad911ceaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment