class Command(InspectDBCommand):
Undocumented
Method | get_field_type |
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. |
Class Variable | db_module |
Undocumented |
Inherited from Command
:
Method | add_arguments |
Entry point for subclassed commands to add custom arguments. |
Method | get_meta |
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. |
Method | handle |
The actual logic of the command. Subclasses must implement this method. |
Method | handle_inspection |
Undocumented |
Method | normalize_col_name |
Modify the column name to make it Python-compatible as a field name |
Class Variable | help |
Undocumented |
Class Variable | requires_system_checks |
Undocumented |
Class Variable | stealth_options |
Undocumented |
Inherited from BaseCommand
(via Command
):
Method | __init__ |
Undocumented |
Method | add_base_argument |
Call the parser's add_argument() method, suppressing the help text according to BaseCommand.suppressed_base_arguments. |
Method | check |
No summary |
Method | check_migrations |
Print a warning if the set of migrations on disk don't match the migrations in the database. |
Method | create_parser |
Create and return the ArgumentParser which will be used to parse the arguments to this command. |
Method | execute |
Try to execute this command, performing system checks if needed (as controlled by the requires_system_checks attribute, except if force-skipped). |
Method | get_version |
Return the Django version, which should be correct for all built-in Django commands. User-supplied commands can override this method to return their own version. |
Method | print_help |
Print the help message for this command, derived from self.usage(). |
Method | run_from_argv |
No summary |
Class Variable | base_stealth_options |
Undocumented |
Class Variable | output_transaction |
Undocumented |
Class Variable | requires_migrations_checks |
Undocumented |
Class Variable | suppressed_base_arguments |
Undocumented |
Instance Variable | _called_from_command_line |
Undocumented |
Instance Variable | stderr |
Undocumented |
Instance Variable | stdout |
Undocumented |
Instance Variable | style |
Undocumented |