From 98b38cd7a4a237fd53244dc55b6597b7ae53b697 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 11 Feb 2020 21:39:08 +0100 Subject: [PATCH] Fix entrypoint for Django 2.2 --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 2b7471d..bab3ff2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,9 @@ # This will launch the Django project as a fastcgi socket # then Apache or NGINX will be able to use that socket -python manage.py compilemessages -i ".tox" -i "venv" +# Option "-i" will be only available in Django 3.0+, but it does not support Python 3.5 +#python manage.py compilemessages -i ".tox" -i "venv" +python manage.py compilemessages python manage.py makemigrations # Wait for database