32 lines
841 B
Python
32 lines
841 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Pad",
|
|
fields=[
|
|
(
|
|
"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")),
|
|
],
|
|
options={
|
|
"verbose_name": "Pad",
|
|
},
|
|
),
|
|
]
|