#27461: makemigrations router.allow_migrate() calls for consistency checks use incorrect (app_label, model) pairs -------------------------------------+------------------------------------- Reporter: Joseph | Owner: nobody Kahn | Type: Bug | Status: new Component: Core | Version: 1.10 (Management commands) | Severity: Release | Keywords: blocker | Triage Stage: Accepted | Has patch: 1 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- As reported in ticket:27200#comment:14, I `makemigrations` incorrectly calls `allow_migrate()` for each app with all the models in the project rather than for each app with the app's models. It broke the router I use because it was passing invalid combinations for shards since not all shards have the same models.
[https://github.com/django/django/pull/7530 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/27461> 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/049.69659c4f1450441a063c1358d115ed66%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.