--
Ticket URL: <https://code.djangoproject.com/ticket/23359>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* owner: nobody => Markush2010
* needs_docs: => 0
* needs_tests: => 0
* needs_better_patch: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:1>
* has_patch: 0 => 1
Comment:
There is a pull request at https://github.com/django/django/pull/3116
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:2>
* easy: 1 => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:3>
Comment (by Markush2010):
As shortly discussed with jax on IRC, having the `--list` output as part
of migrate is somewhat inconsistent. I'd rather add another command
`showmigrations` that offers `--list` (what `manage.py migrate --list` is
doing right now) as a default and `--plan` with the
[https://github.com/django/django/pull/3116#issuecomment-53444101 this
output] (dependencies are only shown for `--verbose 2`). We could add a
`--graph` option too that outputs the content for a dotfile, as
[https://github.com/django/django/pull/3116#issuecomment-53565075 shown in
the pull request].
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:4>
* cc: Markush2010 (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:5>
* needs_docs: 0 => 1
Comment:
I added another PR (https://github.com/django/django/pull/3153) that adds
a dedicated `showmigrations` command which then also takes care of
`--list` from the `migrate` command.
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:6>
* owner: Markush2010 => MarkusH
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:7>
* needs_docs: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:8>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:9>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:10>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:11>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"a1487deebff7bf27a4946a9f5ddd68154fa4834d"]:
{{{
#!CommitTicketReference repository=""
revision="a1487deebff7bf27a4946a9f5ddd68154fa4834d"
Fixed #23359 -- Added showmigrations command to list migrations and plan.
Thanks to Collin Anderson, Tim Graham, Gabe Jackson, and Marc Tamlyn
for their input, ideas, and review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:12>
Comment (by Tim Graham <timograham@…>):
In [changeset:"e08318b4ef25cfe7d1cfbc5ae7d134ee477506ba"]:
{{{
#!CommitTicketReference repository=""
revision="e08318b4ef25cfe7d1cfbc5ae7d134ee477506ba"
Refs #23359 -- Removed double newline from output of migrate --list
Thanks Berker Peksag for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:13>
Comment (by Tim Graham <timograham@…>):
In [changeset:"b6e6fcf326ff3b008ccd7e935c391432d95bc5e2" b6e6fcf3]:
{{{
#!CommitTicketReference repository=""
revision="b6e6fcf326ff3b008ccd7e935c391432d95bc5e2"
Refs #23359 -- Removed the migrate --list option per deprecation timeline.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:14>
Comment (by GitHub <noreply@…>):
In [changeset:"bbf93efa1939682c2af9e3fac03e8c4173523a0d" bbf93ef]:
{{{
#!CommitTicketReference repository=""
revision="bbf93efa1939682c2af9e3fac03e8c4173523a0d"
Refs #23359 -- Corrected showmigrations help text for the --database
option.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23359#comment:15>