23 lines
653 B
Python
23 lines
653 B
Python
# Generated by Django 2.0.4 on 2018-04-07 12:22
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Article',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('text', models.TextField(verbose_name='Texte')),
|
|
('title', models.CharField(max_length=255, verbose_name='Titre')),
|
|
('date', models.DateField(verbose_name='Date de parution')),
|
|
],
|
|
),
|
|
]
|