#28515: mysql is checking all models also models that are mapped to POSTGIS
-------------------------------------+-------------------------------------
Reporter: EDWIN CUBILLOS | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.11
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: postgis, mysql, | Triage Stage:
multidatabase | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Shai Berger):
Hi Edwin,
To expand Tim's comment: Your router's `allow_migrate()` should return a
Boolean. Instead, it returns the app's database-name (from your
`DB_APPS_MAPPING`), which, for every app actually defined there, is
truthy.
--
Ticket URL: <https://code.djangoproject.com/ticket/28515#comment:6>
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/068.cf8a1b5b397209622eba26a5e5fef584%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.