29 lines
934 B
Python
29 lines
934 B
Python
# Generated by Django 2.2.4 on 2019-09-01 08:30
|
|
|
|
import datetime
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Timeline',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('titre', models.CharField(max_length=200)),
|
|
('date', models.DateField(default=datetime.date.today)),
|
|
('heure_debut', models.TimeField(blank=True, null=True)),
|
|
('heure_fin', models.TimeField(blank=True, null=True)),
|
|
('lieu', models.CharField(blank=True, max_length=200)),
|
|
('illustration', models.ImageField(upload_to='timeline')),
|
|
('description', models.TextField(blank=True)),
|
|
],
|
|
),
|
|
]
|