id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 23407 makemigrations doesn't use --noinput Baptiste Mispelon Marten Kenbeek "#22862 added the `--noinput` to the `makemigrations` command but only when using `--merge`. It seems to me that it would be a useful addition to the plain `makemigrations` too and could work like this: * If the migrations can be created without user input, create it * If not, raise an error. I tried changing the code to use `MigrationQuestioner` instead of `InteractiveMigrationQuestioner` but it seems that this just creates a migration with `default=None` which might not be what you want. Implementing a new questioner object like this seems to work in my limited testcase: {{{#!python class NonInteractiveQuestioner(MigrationQuestioner): def ask_not_null_addition(self, field_name, model_name): raise NotImplementedError def ask_rename(self, model_name, old_name, new_name, field_instance): raise NotImplementedError def ask_rename_model(self, old_model_state, new_model_state): raise NotImplementedError def ask_merge(self, app_label): raise NotImplementedError }}}" Cleanup/optimization closed Migrations 1.7 Normal fixed sprint ams2015 Ready for checkin 0 0 0 0 1 0