#24311: Foreign key constraint error when syncing unmigrated models that relate
to
migrated models
---------------------------------+--------------------------------------
Reporter: collinanderson | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.8alpha1
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by collinanderson):
{{{
mysql -e'drop database testcustomuser; create database testcustomuser
character set utf8'
PYTHONPATH=~/django1.7 python3 ./manage.py migrate
mysqldump testcustomuser | grep admin_log_user
CONSTRAINT `django_admin_log_user_id_53acb657f00068f0_fk_app_myuser_id`
FOREIGN KEY (`user_id`) REFERENCES `app_myuser` (`id`),
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24311#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.9c64910625a51b8211585864f7ace6e5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.