refonte avec Django

This commit is contained in:
nyanloutre 2019-09-01 12:13:50 +02:00
parent bcb37a8862
commit bc6add0029
162 changed files with 572 additions and 1558 deletions

View file

@ -0,0 +1,28 @@
# 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)),
],
),
]

View file