27 lines
884 B
Python
27 lines
884 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.11.5 on 2017-09-21 09:34
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Publication',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('num', models.CharField(max_length=128, verbose_name='Numéro du BOcal')),
|
||
|
('url', models.URLField(verbose_name='Adresse sur le site')),
|
||
|
('date', models.DateField(verbose_name='Publication')),
|
||
|
('is_special', models.BooleanField(default=False, help_text='Numéro du BOcal non-numéroté', verbose_name='Numéro spécial')),
|
||
|
],
|
||
|
),
|
||
|
]
|