forked from DGNum/gestioCOF
25 lines
778 B
Python
25 lines
778 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.utils.timezone
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('bda', '0005_encoding'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='SpectacleRevente',
|
||
|
fields=[
|
||
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||
|
('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date de mise en vente')),
|
||
|
('sold', models.BooleanField(default=False, verbose_name='Vendue')),
|
||
|
('attribution', models.OneToOneField(to='bda.Attribution')),
|
||
|
],
|
||
|
),
|
||
|
]
|