Add -l alias for migrate --list
This commit is contained in:
parent
0c295a7718
commit
0b7cf56e28
|
@ -28,7 +28,7 @@ class Command(BaseCommand):
|
||||||
'Defaults to the "default" database.'),
|
'Defaults to the "default" database.'),
|
||||||
make_option('--fake', action='store_true', dest='fake', default=False,
|
make_option('--fake', action='store_true', dest='fake', default=False,
|
||||||
help='Mark migrations as run without actually running them'),
|
help='Mark migrations as run without actually running them'),
|
||||||
make_option('--list', action='store_true', dest='list', default=False,
|
make_option('--list', '-l', action='store_true', dest='list', default=False,
|
||||||
help='Show a list of all known migrations and which are applied'),
|
help='Show a list of all known migrations and which are applied'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue