This behavior makes migrations generated under 1.8 practically unusable on
1.7, even if they don't use managers in migrations. Due to this I classify
this issue as a release blocker.
See also #23892 for a discussion about the forwards / backwards
compatibility of migrations.
--
Ticket URL: <https://code.djangoproject.com/ticket/24093>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* has_patch: 0 => 1
* needs_tests: => 0
* needs_docs: => 0
Comment:
PR: https://github.com/django/django/pull/3853
--
Ticket URL: <https://code.djangoproject.com/ticket/24093#comment:1>
* severity: Release blocker => Normal
* stage: Unreviewed => Accepted
Comment:
As I said on #23892, I don't think we should attempt to make migrations
forwards-compatible, and I actually see some advantage to having them fail
fast if you try rather than "maybe work depending which features you use."
So I don't believe this is high priority or should be a release blocker.
However, I do think this is worth fixing, not for forward-compatibility
but just for the sake of cleaner migration files. And if we want it to
"fail fast" when you use newer migrations on older Django, we should do
that in a more explicit way anyway. So I'm +0 on merging this change.
--
Ticket URL: <https://code.djangoproject.com/ticket/24093#comment:2>
Comment (by MarkusH):
It's not about forwards compatibility, at least I didn't consider and
think about it. The output is just not the way as it was intended by the
change.
--
Ticket URL: <https://code.djangoproject.com/ticket/24093#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"862ea825b5073588efafd5b7eed349ad098b5fe1"]:
{{{
#!CommitTicketReference repository=""
revision="862ea825b5073588efafd5b7eed349ad098b5fe1"
Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that
are not explicitly deconstructed
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24093#comment:4>