Re: Add an --unapplied option for showmigrations

2019-12-14 Thread Adam Johnson
Sure, feel free to open a PR and mention me in a comment with "@adamchainz" so I see it. On Sat, 14 Dec 2019 at 23:09, Sky Christensen wrote: > Thanks Adam - I hadn't come across that, and think it's what I'm after. > > Would it be worth adding a note about this to the "showmigrations" > section

Re: Add an --unapplied option for showmigrations

2019-12-14 Thread Sky Christensen
Thanks Adam - I hadn't come across that, and think it's what I'm after. Would it be worth adding a note about this to the "showmigrations" section of the docs? It strikes me that that's the place people would look for an answer to the question "How can I see a list of just the unapplied migrat

Re: Add an --unapplied option for showmigrations

2019-11-29 Thread Adam Johnson
I think you want "manage.py migrate --plan" - new in Django 2.2 https://docs.djangoproject.com/en/2.2/ref/django-admin/#cmdoption-migrate-plan On Fri, 29 Nov 2019 at 10:59, Sky Christensen wrote: > I'd like to be able to easily see a list of only unapplied migrations. > > I often find myself swi

Add an --unapplied option for showmigrations

2019-11-29 Thread Sky Christensen
I'd like to be able to easily see a list of only unapplied migrations. I often find myself switching to a new branch and wanting to quickly find out whether it contains any migrations that are yet to be applied to my development database, and what they are. At the moment I use a plain `./mana