class InteractiveMigrationQuestioner(MigrationQuestioner):
Undocumented
Method | _ask_default |
Prompt for a default value. |
Method | _boolean_input |
Undocumented |
Method | _choice_input |
Undocumented |
Method | ask_auto_now_add_addition |
Adding an auto_now_add field to a model. |
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? |
Inherited from MigrationQuestioner
:
Method | __init__ |
Undocumented |
Method | ask_initial |
Should we create an initial migration for the app? |
Instance Variable | defaults |
Undocumented |
Instance Variable | dry_run |
Undocumented |
Instance Variable | specified_apps |
Undocumented |
Prompt for a default value.
The default argument allows providing a custom default value (as a string) which will be shown to the user and used as the return value if the user doesn't provide any other input.