52c4e134cc9e6348ebbcd5ba73501f903b57102b

Author
Nikolay Panov <github@npanov.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Update django.plugin.zsh (#6634)

Added support for 'showmigrations' django command.

Diff

 1diff --git a/plugins/django/django.plugin.zsh b/plugins/django/django.plugin.zsh
 2index 35865a692d13e06d7b2cc3ceee627cda853e7e6b..29a51d29df72481bad0cf572e995bb50269ba92e 100644
 3--- a/plugins/django/django.plugin.zsh
 4+++ b/plugins/django/django.plugin.zsh
 5@@ -349,6 +349,7 @@ _managepy-commands() {
 6     'runfcgi:Run this project as a fastcgi (or some other protocol supported by flup) application,'
 7     'runserver:Starts a lightweight Web server for development.'
 8     'shell:Runs a Python interactive interpreter.'
 9+    'showmigrations:Shows all available migrations for the current project.'
10     'sql:Prints the CREATE TABLE SQL statements for the given app name(s).'
11     'sqlall:Prints the CREATE TABLE, custom SQL and CREATE INDEX SQL statements for the given model module name(s).'
12     'sqlclear:Prints the DROP TABLE SQL statements for the given app name(s).'