29 lines
850 B
Python
29 lines
850 B
Python
|
# Generated by Django 2.2.14 on 2020-07-05 17:03
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Actu',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('text', models.TextField(null=True, verbose_name='Info')),
|
||
|
('text_en', models.TextField(blank=True, null=True, verbose_name='Info en anglais')),
|
||
|
('order', models.IntegerField(verbose_name='ordre')),
|
||
|
],
|
||
|
options={
|
||
|
'ordering': ('order',),
|
||
|
'verbose_name_plural': 'Actualités',
|
||
|
'verbose_name': 'Actualité',
|
||
|
},
|
||
|
),
|
||
|
]
|