#35711: Running migrate with disabled migrations fails with version 5.1
----------------------------+--------------------------------------
     Reporter:  Mounir      |                    Owner:  (none)
         Type:  Bug         |                   Status:  closed
    Component:  Migrations  |                  Version:  5.1
     Severity:  Normal      |               Resolution:  invalid
     Keywords:              |             Triage Stage:  Unreviewed
    Has patch:  0           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  0           |                    UI/UX:  0
----------------------------+--------------------------------------
Changes (by Simon Charette):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 Setting `MIGRATION_MODULES = DisableMigrations()` is not a supported
 pattern.

 I assume you ported it over from ticket:25388#comment:20 which eventually
 resulted in the addition of the `TEST["MIGRATE"]`
 [https://docs.djangoproject.com/en/5.1/ref/settings/#migrate setting]
 which should now be used instead.

 Please re-open if you can reproduce without using the `DisableMigrations`
 pattern.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35711#comment:2>
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/0107019194eb15e9-076b65bf-1c39-4f1b-baad-91c14cf1b19b-000000%40eu-central-1.amazonses.com.

Reply via email to