https://github.com/django/django/blob/bac7664f274be834a09e037331889959f04a75e7/django/core/management/commands/migrate.py#L156
https://github.com/django/django/blob/bac7664f274be834a09e037331889959f04a75e7/django/core/management/commands/migrate.py#L252
If all installed applications have migrations, no pre_migrate signal
happens.
--
Ticket URL: <https://code.djangoproject.com/ticket/23975>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* severity: Normal => Release blocker
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => timgraham
* needs_docs: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/23975#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/3711 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/23975#comment:2>
--
Ticket URL: <https://code.djangoproject.com/ticket/23975#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d2ff8a7241b621b8013c7ec1631e95ae4445f76d"]:
{{{
#!CommitTicketReference repository=""
revision="d2ff8a7241b621b8013c7ec1631e95ae4445f76d"
Fixed #23975 -- Restored pre_migrate signal if all apps have migrations.
Thanks kmmbvnr for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23975#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"c085bea6c34979b9acc3108afd018cb391557002"]:
{{{
#!CommitTicketReference repository=""
revision="c085bea6c34979b9acc3108afd018cb391557002"
[1.7.x] Fixed #23975 -- Restored pre_migrate signal if all apps have
migrations.
Thanks kmmbvnr for the report.
Backport of d2ff8a7241b621b8013c7ec1631e95ae4445f76d from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23975#comment:5>