2016-06-21 00:33:32 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2017-05-23 10:30:18 +02:00
|
|
|
from django.db import migrations, models
|
2016-06-21 00:33:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2021-04-29 00:27:33 +02:00
|
|
|
dependencies = []
|
2016-06-21 00:33:32 +02:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2021-04-29 00:27:33 +02:00
|
|
|
name="Pad",
|
2016-06-21 00:33:32 +02:00
|
|
|
fields=[
|
2021-04-29 00:27:33 +02:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
verbose_name="ID",
|
|
|
|
serialize=False,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("nom", models.CharField(max_length=100)),
|
|
|
|
("url", models.URLField()),
|
|
|
|
("date", models.DateField(verbose_name="Créé le")),
|
2016-06-21 00:33:32 +02:00
|
|
|
],
|
|
|
|
options={
|
2021-04-29 00:27:33 +02:00
|
|
|
"verbose_name": "Pad",
|
2016-06-21 00:33:32 +02:00
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|