Skip to content
Snippets Groups Projects
Commit cec2223e authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Remove obsolete test on Django version in install.sh

parent 370838db
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -41,14 +41,7 @@ echo "--- Compiling messages"
 
echo ""
echo "--- Creating database"
DJANGO_19=$(python -c "from __future__ import print_function; import django; print(django.VERSION >= (1, 9))")
if [ "$DJANGO_19" = "True" ]; then
# Django >= 1.9
./manage.py migrate --run-syncdb || exit 1
else
# Django <= 1.8
./manage.py syncdb || exit 1
fi
./manage.py migrate --run-syncdb || exit 1
 
echo ""
echo "--- Loading fixtures in database"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment