#34247: Cannot resolve operation dependencies
----------------------------------------+------------------------
               Reporter:  michaelschem  |          Owner:  nobody
                   Type:  Bug           |         Status:  new
              Component:  Migrations    |        Version:  4.1
               Severity:  Normal        |       Keywords:
           Triage Stage:  Unreviewed    |      Has patch:  1
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  1
                  UI/UX:  0             |
----------------------------------------+------------------------
 I've been having trouble regenerating all my Django migrations from
 scratch. We have hundreds of models and many complex relationships. I kept
 getting the error `Cannot resolve operation dependencies` when generating
 and I noticed that proxy models that were foreign keys of other models
 seemed to be the culprit. I've created a pr to fix the sort method to
 ensure that proxy model based CreateModel and regular model CreateModel
 operations are at the top.

 https://github.com/django/django/pull/16438

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34247>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018597fa04a1-bc555d7c-cc53-4c23-b89a-1b2e7dc780f6-000000%40eu-central-1.amazonses.com.

Reply via email to