#27200: Provide makemigrations router.allow_migrate() with a model_name -------------------------------------+------------------------------------- Reporter: Joseph Kahn | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Migrations | Version: 1.10 Severity: Normal | Resolution: Keywords: makemigrations, | Triage Stage: Accepted router, allow_migrate | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Joseph Kahn):
* status: closed => new * resolution: fixed => Comment: There's a bug in the code. I was on vacation, sorry it took so long for me to get back. It was getting all the models rather than the models for each app. 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 -- Ticket URL: <https://code.djangoproject.com/ticket/27200#comment:14> 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/064.118185cb7c9a58300be143bccefe7b5e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.