migration

This commit is contained in:
Ludovic Stephan 2016-07-23 22:21:50 +02:00
parent 6793194adc
commit ca39dc813b

View file

@ -0,0 +1,24 @@
# -*- 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')),
],
),
]