32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
# Generated by Django 2.0.1 on 2018-02-28 12:53
|
|
|
|
from django.db import migrations, models
|
|
import settings.aes_field
|
|
|
|
|
|
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')),
|
|
('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')),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='SiteSettings',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('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")),
|
|
],
|
|
),
|
|
]
|