cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.clm.management.commands.mysql_migrate.Command Class Reference

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 
)

Definition at line 114 of file mysql_migrate.py.

Member Data Documentation

string src.clm.management.commands.mysql_migrate.Command.args = ''
static

Definition at line 84 of file mysql_migrate.py.

string src.clm.management.commands.mysql_migrate.Command.help = 'Run migration from version 1.7'
static

Definition at line 85 of file mysql_migrate.py.

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: