Ticket #930 (accepted enhancement)

Opened 4 years ago

Last modified 4 years ago

define Command.args for schemamigration

Reported by: eric@… Owned by: andrew
Priority: trivial Milestone: 1.0
Component: documentation Version: 0.7.3
Keywords: schemamigration Cc:


Currently, "./manage.py help schemamigration" shows a generic usage string:

Usage: manage.py schemamigration [options]

It would be really great for this to look closer to the usage string shown when if you enter "./manage.py schemamigration":

Usage: ./manage.py schemamigration appname migrationname [--empty] [--initial] [--auto] [--add-model ModelName] [--add-field ModelName.field_name] [--stdout]

At a minimum setting Command.args = "<appname migrationname>" would help newbies realize that you can actually pass a custom migration name. (This is not mentioned in the introductory documentation, and the output of "./migrate.py help schemamigration" does not mention args at all.)

Change History

comment:1 Changed 4 years ago by andrew

  • Status changed from new to accepted
  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.