2016-06-21 00:33:32 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Pad',
|
|
|
|
fields=[
|
2016-07-14 01:58:52 +02:00
|
|
|
('id', models.AutoField(verbose_name='ID', primary_key=True,
|
|
|
|
auto_created=True, serialize=False)),
|
2016-06-21 00:33:32 +02:00
|
|
|
('nom', models.CharField(max_length=100)),
|
|
|
|
('url', models.URLField()),
|
|
|
|
('date', models.DateField(verbose_name='Créé le')),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'verbose_name': 'Pad',
|
|
|
|
},
|
|
|
|
bases=(models.Model,),
|
|
|
|
),
|
|
|
|
]
|