#21142: Cannot run migrations that reference django.contrib.auth.models.User
---------------------------------+------------------------------------
     Reporter:  mario.pfeifer@…  |                    Owner:
         Type:  Bug              |                   Status:  new
    Component:  Migrations       |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:  Migration, Auth  |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by OBu):

 ...and to add to the list of problems: There is no migration `__first__`as
 well.
 Removing the dependencies does not help since migrate is checking all
 foreign keys and it does not find information about foreign keys pointing
 to `Users`.

 Since tried to add a `--fake` migration since in my current application I
 wanted to add just a boolean, but this still did not help since migrate
 traverses through all models fields.

 To sum it up: No work arounds found, switching back to south :-(...

 I don't have too much experience with django core development, but I would
 rate this bug a "release blocker"...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21142#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/082.da78c4862fbd478880ad55613ce4f582%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to