#22932: "makemigrations" generates circular dependencies
-------------------------------------+-------------------------------------
Reporter: humitos | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: master
Severity: Normal | Resolution: fixed
Keywords: circular | Triage Stage:
dependency, migrations, | Unreviewed
makemigrations |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by berto):
I am running into this error when squashing migrations. The swappable dep
is from Django REST Framework's `authkey` app. After reading the fix
above I'm not exactly sure how to go about fixing this within a squashed
migration.
When running the squashed migration it tells me that the `authkey` tables
do not exist. When adding `('authkey', '0001_initial')` to the
dependencies list, I get the circular dependency error.
I'm seeing this when running tests, and I'm using Django 1.7.10.
Any clues? Thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/22932#comment:5>
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/065.b77f3393cb8c10cf32078cb66abea70a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.