migration
This commit is contained in:
parent
6793194adc
commit
ca39dc813b
1 changed files with 24 additions and 0 deletions
24
bda/migrations/0006_spectaclerevente.py
Normal file
24
bda/migrations/0006_spectaclerevente.py
Normal 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')),
|
||||
],
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue