# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-03 17:15 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.db.models.deletion import equipment.fields class Migration(migrations.Migration): dependencies = [ ('equipment', '0004_auto_20180802_1554'), ] operations = [ migrations.CreateModel( name='EquipmentRevision', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateField(default=datetime.date.today, verbose_name='date')), ('ids', equipment.fields.IdField()), ('equipment', models.ForeignKey(help_text='Matériel concerné par les révisions', on_delete=django.db.models.deletion.CASCADE, related_name='revisions', to='equipment.Equipment')), ], options={ 'verbose_name': 'révision de matériel', 'verbose_name_plural': 'révisions de matériel', }, ), ]