28 lines
976 B
Python
28 lines
976 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.11.5 on 2017-09-22 16:04
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('mainsite', '0002_auto_20170922_1438'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='SiteConfiguration',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('homepageText', models.TextField(verbose_name="Texte de la page d'accueil (HTML)")),
|
||
|
('writearticleText', models.TextField(verbose_name='Texte de la page « écrire » (HTML)')),
|
||
|
('email', models.CharField(help_text='Attention au spam…', max_length=128, verbose_name='Adresse de contact du BOcal')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': 'Configuration du site',
|
||
|
},
|
||
|
),
|
||
|
]
|