App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine._internal.django.core.management.commands.inspectdb.Command Class Reference
Inheritance diagram for google.appengine._internal.django.core.management.commands.inspectdb.Command:
google.appengine._internal.django.core.management.base.NoArgsCommand google.appengine._internal.django.core.management.base.BaseCommand

Public Member Functions

def handle_noargs
 
def handle_inspection
 
def get_field_type
 
def get_meta
 
- Public Member Functions inherited from google.appengine._internal.django.core.management.base.NoArgsCommand
def handle
 
def handle_noargs
 
- Public Member Functions inherited from google.appengine._internal.django.core.management.base.BaseCommand
def __init__
 
def get_version
 
def usage
 
def create_parser
 
def print_help
 
def run_from_argv
 
def execute
 
def validate
 
def handle
 

Static Public Attributes

string help = "Introspects the database tables in the given database and outputs a Django model module."
 
tuple option_list
 
 requires_model_validation = False
 
string db_module = 'django.db'
 
- Static Public Attributes inherited from google.appengine._internal.django.core.management.base.NoArgsCommand
string args = ''
 
- Static Public Attributes inherited from google.appengine._internal.django.core.management.base.BaseCommand
tuple option_list
 
string help = ''
 
string args = ''
 
 can_import_settings = True
 
 requires_model_validation = True
 
 output_transaction = False
 

Additional Inherited Members

- Public Attributes inherited from google.appengine._internal.django.core.management.base.BaseCommand
 style
 
 stdout
 
 stderr
 

Member Function Documentation

def google.appengine._internal.django.core.management.commands.inspectdb.Command.get_field_type (   self,
  connection,
  table_name,
  row 
)
Given the database connection, the table name, and the cursor row
description, this routine will return the given field type name, as
well as any additional keyword parameters and notes for the field.
def google.appengine._internal.django.core.management.commands.inspectdb.Command.get_meta (   self,
  table_name 
)
Return a sequence comprising the lines of code necessary
to construct the inner Meta class for the model corresponding
to the given database table name.

Member Data Documentation

tuple google.appengine._internal.django.core.management.commands.inspectdb.Command.option_list
static
Initial value:
1 = NoArgsCommand.option_list+(
2  make_option('--database', action='store', dest='database',
3  default=DEFAULT_DB_ALIAS, help='Nominates a database to '
4  'introspect. Defaults to using the "default" database.'),
5  )

The documentation for this class was generated from the following file: