#35109: Enhance `showmigrations` to only write leafs nodes (most recent
migrations)
to stdout, if desired
-------------------------------------+-------------------------------------
Reporter: breid1313 | Owner: breid1313
Type: New | Status: assigned
feature |
Component: Core | Version: 3.2
(Management commands) | Keywords: management
Severity: Normal | commands, migration, showmigrations
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
It would be nice to be able to have `showmigrations` only display the most
recent migration for a given app. Currently, the functionality is to list
all migrations, which can be a long list for more mature apps. I have
found at times that I am really only looking for the most recent migration
so that I can unapply it or find the number of the last migration so I can
squash through that point.
Proposed enhancement: add an argument to `showmigrations` that will only
show the leaf nodes for the given app(s) if provided.
--
Ticket URL: <https://code.djangoproject.com/ticket/35109>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018cfe916408-15dfb175-c50a-41e2-9bd7-b09c1619be54-000000%40eu-central-1.amazonses.com.