kpsul/bda/migrations/0006_spectaclerevente.py
Ludovic Stephan ca39dc813b migration
2016-07-23 22:21:50 +02:00

24 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')),
],
),
]