2018-03-08 22:16:03 +00:00
|
|
|
# Generated by Django 2.0.1 on 2018-03-08 22:03
|
2018-01-14 18:05:53 +00:00
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
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-03-08 22:16:03 +00:00
|
|
|
('site_logo', models.ImageField(blank=True, null=True, upload_to='', verbose_name='Logo du site')),
|
|
|
|
('event_poster', models.ImageField(blank=True, null=True, upload_to='', verbose_name="Affiche de l'événement")),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='StaticPage',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('name', models.CharField(max_length=255, verbose_name='Titre de la catégorie')),
|
|
|
|
('text', models.TextField(verbose_name='Texte de la catégorie')),
|
2018-01-14 18:05:53 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|