Fix entrypoint for Django 2.2

This commit is contained in:
Alexandre Iooss 2020-02-11 21:39:08 +01:00
parent 1bf9668315
commit 98b38cd7a4
1 changed files with 3 additions and 1 deletions

View File

@ -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