#25388: Allow disabling of all migrations during tests
-----------------------------------+------------------------------------
Reporter: Markus Holtermann | Owner: (none)
Type: New feature | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by Tobias McNulty):
Another option (which I prefer over the current implementation, the more I
think about it) would be to add a new option to the `migrate` management
command that would *only* run `syncdb` (i.e., it would pass an argument
into the `MigrationLoader` telling it to do what you do now in the above
PR). This seems less magical than the current implementation as it would
facilitate passing the option down through the stack rather than setting
it on a global variable (the db connection).
--
Ticket URL: <https://code.djangoproject.com/ticket/25388#comment:15>
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.af8cb4c2f8e2648b41756ac6b7c851a8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.