#23337: CircularDependencyError when squashing migrations
-------------------------------+------------------------------------
     Reporter:  Richard Eames  |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Migrations     |                  Version:  dev
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------
Comment (by bcail):

 It looks like the first `squashmigrations` command for the cheese app
 results in a circular dependency, so a `migrate` or `makemigrations`
 command fails with the CircularDependencyError (even without squashing
 migrations in the eggs app).

 Would it be helpful to add a check in the `squashmigrations` command to
 look at its output and throw an error instead of writing out a squashed
 migration that causes a CircularDependencyError?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/23337#comment:13>
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/0107018e0a426ccd-0c8f1c08-cf00-4a8d-b48c-524016de2336-000000%40eu-central-1.amazonses.com.

Reply via email to