﻿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
24820	Add functionality to handle keyboard prompts during migrations for automated deployments	Kay	nobody	"While removing models in one of my  migrations, I was prompted by Django to input yes/no. For development, this is no problem. For automatic deployments it is.

I want to know if there exists or if it's possible to add functionality to Django to do this. I've created a modification which works, but also want to learn if anyone else has solved this problem differently.

Modifying the deployment file to include `--noinput` does not solve this problem (it basically defaults to `no` which ultimately doesn't remove the model).

The patch I've created seems to be working just fine. My solution involves editing the contenttypes to take an additional argument. The argument can be invoked inside a migration file so that I have full control over when it's used. You can view the code below.

Link to diff for the patch I created: https://github.com/Protosac/django/commit/d98fff8219469a363493e8d8455c7ffb2430d36f"	New feature	closed	Migrations	1.7	Normal	wontfix	migration, automatic deployment		Unreviewed	1	0	0	0	0	0
