class documentation

Give the autodetector responses to questions it might have. This base class has a built-in noninteractive mode, but the interactive subclass is what the command-line arguments will use.

Method __init__ Undocumented
Method ask_auto_now_add_addition Adding an auto_now_add field to a model.
Method ask_initial Should we create an initial migration for the app?
Method ask_merge Should these migrations really be merged?
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 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 ask_auto_now_add_addition(self, field_name, model_name): (source)
def ask_initial(self, app_label): (source)

Should we create an initial migration for the app?

def ask_merge(self, app_label): (source)

Should these migrations really be merged?

def ask_not_null_addition(self, field_name, model_name): (source)
def ask_not_null_alteration(self, field_name, model_name): (source)
def ask_rename(self, model_name, old_name, new_name, field_instance): (source)

Was this field really renamed?

def ask_rename_model(self, old_model_state, new_model_state): (source)

Was this model really renamed?

def ask_unique_callable_default_addition(self, field_name, model_name): (source)

Adding a unique field with a callable default.

defaults = (source)

Undocumented

Undocumented

specified_apps = (source)

Undocumented