From c4997be31f954e544999563839c049e15edd4a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Tue, 15 May 2018 18:48:56 +0000 Subject: [PATCH] Fix install script --- install_re2o.sh | 2 +- .../migrations/0063_auto_20171020_0040.py | 1 + .../migrations/0081_auto_20180515_2034.py | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 machines/migrations/0081_auto_20180515_2034.py diff --git a/install_re2o.sh b/install_re2o.sh index d755eb05..cc8a4b67 100755 --- a/install_re2o.sh +++ b/install_re2o.sh @@ -240,7 +240,7 @@ install_base=$(dialog --clear \ echo "Installation des paquets de base" apt-get -y install python3-django python3-dateutil texlive-latex-base texlive-fonts-recommended python3-djangorestframework python3-django-reversion python3-pip libsasl2-dev libldap2-dev libssl-dev python3-crypto python3-git pip3 install django-bootstrap3 -pip3 install django-ldapdb +pip3 install django-ldapdb==0.9.0 pip3 install django-macaddress if [ $sql_bdd_type == 1 ] diff --git a/machines/migrations/0063_auto_20171020_0040.py b/machines/migrations/0063_auto_20171020_0040.py index d2f9afd9..0e049881 100644 --- a/machines/migrations/0063_auto_20171020_0040.py +++ b/machines/migrations/0063_auto_20171020_0040.py @@ -11,6 +11,7 @@ class Migration(migrations.Migration): dependencies = [ ('machines', '0062_extension_origin_v6'), + ('reversion', '0001_squashed_0004_auto_20160611_1202') ] operations = [ diff --git a/machines/migrations/0081_auto_20180515_2034.py b/machines/migrations/0081_auto_20180515_2034.py new file mode 100644 index 00000000..c812a310 --- /dev/null +++ b/machines/migrations/0081_auto_20180515_2034.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2018-05-15 18:34 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('machines', '0080_auto_20180502_2334'), + ] + + operations = [ + migrations.AlterField( + model_name='extension', + name='soa', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='machines.SOA'), + ), + ]