2018-02-28 14:06:55 +00:00
|
|
|
# Generated by Django 2.0.1 on 2018-02-28 12:53
|
2018-01-14 18:05:53 +00:00
|
|
|
|
|
|
|
from django.db import migrations, models
|
2018-02-28 14:06:55 +00:00
|
|
|
import settings.aes_field
|
2018-01-14 18:05:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='ContentSettings',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
2018-02-28 14:06:55 +00:00
|
|
|
('ftp_url', models.URLField(default='', max_length=255, verbose_name='URL du FTP')),
|
|
|
|
('ftp_id', models.CharField(default='', max_length=255, verbose_name='Identifiant sur le FTP')),
|
|
|
|
('ftp_pass', settings.aes_field.AESEncryptedField(default='', max_length=255, verbose_name='Mot de passe')),
|
2018-01-14 18:05:53 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='SiteSettings',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
2018-02-28 14:06:55 +00:00
|
|
|
('allow_upload', models.BooleanField(default=False, verbose_name="Autoriser l'upload de vidéos.")),
|
|
|
|
('home_message', models.TextField(default='', verbose_name="Message de la page d'accueil")),
|
2018-01-14 18:05:53 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|