From 32a7493bb7e2a3dad273db68082da216ed516c19 Mon Sep 17 00:00:00 2001 From: Klafyvel Date: Sat, 20 Jan 2018 23:11:00 +0100 Subject: [PATCH] Migrations. --- .../migrations/0002_auto_20180114_1832.py | 31 ++++++++++ .../migrations/0003_auto_20180114_1837.py | 59 +++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 settings/migrations/0002_auto_20180114_1832.py create mode 100644 settings/migrations/0003_auto_20180114_1837.py diff --git a/settings/migrations/0002_auto_20180114_1832.py b/settings/migrations/0002_auto_20180114_1832.py new file mode 100644 index 0000000..abab904 --- /dev/null +++ b/settings/migrations/0002_auto_20180114_1832.py @@ -0,0 +1,31 @@ +# Generated by Django 2.0.1 on 2018-01-14 18:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('settings', '0001_initial'), + ] + + operations = [ + migrations.RemoveField( + model_name='sitesettings', + name='allow_upload', + ), + migrations.RemoveField( + model_name='sitesettings', + name='site_name', + ), + migrations.AddField( + model_name='sitesettings', + name="Autoriser l'upload de vidéos.", + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='sitesettings', + name="Message de la page d'accueil", + field=models.TextField(default=''), + ), + ] diff --git a/settings/migrations/0003_auto_20180114_1837.py b/settings/migrations/0003_auto_20180114_1837.py new file mode 100644 index 0000000..27d6385 --- /dev/null +++ b/settings/migrations/0003_auto_20180114_1837.py @@ -0,0 +1,59 @@ +# Generated by Django 2.0.1 on 2018-01-14 18:37 + +from django.db import migrations, models +import settings.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('settings', '0002_auto_20180114_1832'), + ] + + operations = [ + migrations.RemoveField( + model_name='contentsettings', + name='Identifiant sur le FTP', + ), + migrations.RemoveField( + model_name='contentsettings', + name='Mot de passe', + ), + migrations.RemoveField( + model_name='contentsettings', + name='URL du FTP', + ), + migrations.RemoveField( + model_name='sitesettings', + name="Autoriser l'upload de vidéos.", + ), + migrations.RemoveField( + model_name='sitesettings', + name="Message de la page d'accueil", + ), + migrations.AddField( + model_name='contentsettings', + name='ftp_id', + field=models.CharField(default='', max_length=255, verbose_name='Identifiant sur le FTP'), + ), + migrations.AddField( + model_name='contentsettings', + name='ftp_pass', + field=settings.models.AESEncryptedField(default='', max_length=255, verbose_name='Mot de passe'), + ), + migrations.AddField( + model_name='contentsettings', + name='ftp_url', + field=models.URLField(default='', max_length=255, verbose_name='URL du FTP'), + ), + migrations.AddField( + model_name='sitesettings', + name='allow_upload', + field=models.BooleanField(default=False, verbose_name="Autoriser l'upload de vidéos."), + ), + migrations.AddField( + model_name='sitesettings', + name='home_message', + field=models.TextField(default='', verbose_name="Message de la page d'accueil"), + ), + ]