From 184a434a943397c45c4b711aad84554df2b3a696 Mon Sep 17 00:00:00 2001 From: Sam Collins Date: Sat, 8 Oct 2016 21:05:28 +0100 Subject: [PATCH] Added --noinput to migate command 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 02636e1ad..111bf1ca8 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"