From 52e84608be0911250c4a6125140c7cf70b65ea4d Mon Sep 17 00:00:00 2001 From: Sam Collins Date: Sat, 8 Oct 2016 22:55:02 +0100 Subject: [PATCH] Added --noinput to migate command (#842) When deploying with a stale content type the migration command can ask for user input which fails the deployment. --- {{cookiecutter.project_slug}}/.ebextensions/40_python.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/.ebextensions/40_python.config b/{{cookiecutter.project_slug}}/.ebextensions/40_python.config index 02636e1a..111bf1ca 100644 --- a/{{cookiecutter.project_slug}}/.ebextensions/40_python.config +++ b/{{cookiecutter.project_slug}}/.ebextensions/40_python.config @@ -1,6 +1,6 @@ container_commands: 01_migrate: - command: "source /opt/python/run/venv/bin/activate && python manage.py migrate" + command: "source /opt/python/run/venv/bin/activate && python manage.py migrate --noinput" leader_only: True 02_collectstatic: command: "source /opt/python/run/venv/bin/activate && python manage.py collectstatic --noinput"