class documentation

class NonInteractiveMigrationQuestioner(MigrationQuestioner): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method ask_auto_now_add_addition Adding an auto_now_add field to a model.
Method ask_not_null_addition Adding a NOT NULL field to a model.
Method ask_not_null_alteration Changing a NULL field to NOT NULL.
Method log_lack_of_migration Undocumented
Instance Variable log Undocumented
Instance Variable verbosity Undocumented

Inherited from MigrationQuestioner:

Method ask_initial Should we create an initial migration for the app?
Method ask_merge Should these migrations really be merged?
Method ask_rename Was this field really renamed?
Method ask_rename_model Was this model really renamed?
Method ask_unique_callable_default_addition Adding a unique field with a callable default.
Instance Variable defaults Undocumented
Instance Variable dry_run Undocumented
Instance Variable specified_apps Undocumented
def __init__(self, defaults=None, specified_apps=None, dry_run=None, verbosity=1, log=None): (source)
def ask_auto_now_add_addition(self, field_name, model_name): (source)

Adding an auto_now_add field to a model.

def ask_not_null_addition(self, field_name, model_name): (source)
def ask_not_null_alteration(self, field_name, model_name): (source)
def log_lack_of_migration(self, field_name, model_name, reason): (source)

Undocumented

Undocumented

verbosity = (source)

Undocumented