--
Ticket URL: <https://code.djangoproject.com/ticket/25231>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
The easiest work-around is to use the {{{--fake-initial}}} option when
applying the squashed migration.
--
Ticket URL: <https://code.djangoproject.com/ticket/25231#comment:1>
* has_patch: 0 => 1
Comment:
Added PR with failing test https://github.com/django/django/pull/5112
--
Ticket URL: <https://code.djangoproject.com/ticket/25231#comment:2>
* cc: charettes (added)
* type: Uncategorized => Bug
* stage: Unreviewed => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/25231#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"69db1c745506bf63026def25d6854755179feaa8" 69db1c7]:
{{{
#!CommitTicketReference repository=""
revision="69db1c745506bf63026def25d6854755179feaa8"
Fixed #25231 -- Added recording of squashed migrations in the migrate
command.
Ensured squashed migrations are recorded as applied when the
migrate command is run and all of the original migrations
have been previously applied.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25231#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"ac46eb7e8379e451d0acc1ace666fabd56d016ce" ac46eb7]:
{{{
#!CommitTicketReference repository=""
revision="ac46eb7e8379e451d0acc1ace666fabd56d016ce"
[1.8.x] Fixed #25231 -- Added recording of squashed migrations in the
migrate command.
Ensured squashed migrations are recorded as applied when the
migrate command is run and all of the original migrations
have been previously applied.
Backport of 69db1c745506bf63026def25d6854755179feaa8 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25231#comment:5>