Inherits BaseCommand.
Public Member Functions |
def | handle |
Static Public Attributes |
string | args = '' |
string | help = 'Run migration from version 1.7' |
tuple | option_list |
Detailed Description
Definition at line 83 of file mysql_migrate.py.
Member Function Documentation
def src.clm.management.commands.mysql_migrate.Command.handle |
( |
|
self, |
|
|
|
args, |
|
|
|
options |
|
) |
| |
Member Data Documentation
string src.clm.management.commands.mysql_migrate.Command.args = '' |
|
static |
string src.clm.management.commands.mysql_migrate.Command.help = 'Run migration from version 1.7' |
|
static |
tuple src.clm.management.commands.mysql_migrate.Command.option_list |
|
static |
Initial value:BaseCommand.option_list+(
make_option('--name',
action='store',
dest='name',
default='clm',
help='MySQL database name'),
make_option('--password',
action='store',
dest='password',
default='cc1',
help='MySQL database password'),
make_option('--user',
action='store',
dest='user',
default='cc1',
help='MySQL database user'),
make_option('--host',
action='store',
dest='host',
default='127.0.0.1',
help='MySQL database host'),
make_option('--port',
action='store',
dest='port',
default='3306',
help='MySQL database port'),
)
Definition at line 86 of file mysql_migrate.py.
The documentation for this class was generated from the following file: