# Generated by Django 6.0.5 on 2026-05-31 11:01 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scanner', '0003_multiwell_crop_radius'), ] operations = [ migrations.AlterField( model_name='configuration', name='calibration_default_multiwell', field=models.CharField(choices=[('HG', 'MP 6x24: HG-Haut gauche'), ('HD', 'MP 6x24: HD-Haut droit'), ('BG', 'MP 6x24: BG-Bas gauche'), ('BD', 'MP 6x24: BD-Bas droit'), ('HG_6', 'MP 2x3: HG-Haut gauche'), ('HD_6', 'MP 2x3: HD-Haut droit'), ('BG_6', 'MP 2x3: BG-Bas gauche'), ('BD_6', 'MP 2x3: BD-Bas droit'), ('HG_12', 'MP 3x4: HG-Haut gauche'), ('HD_12', 'MP 3x4: HD-Haut droit'), ('BG_12', 'MP 3x4: BG-Bas gauche'), ('BD_12', 'MP 3x4: BD-Bas droit'), ('HG_48', 'MP 6x8: HG-Haut gauche'), ('HD_48', 'MP 6x8: HD-Haut droit'), ('BG_48', 'MP 6x8: BG-Bas gauche'), ('BD_48', 'MP 6x8: BD-Bas droit')], default='HG', help_text='Position du multi-puits de calibration par défaut', max_length=8, verbose_name='Multi-puits de calibration par défaut'), ), migrations.AlterField( model_name='multiwell', name='position', field=models.CharField(choices=[('HG', 'MP 6x24: HG-Haut gauche'), ('HD', 'MP 6x24: HD-Haut droit'), ('BG', 'MP 6x24: BG-Bas gauche'), ('BD', 'MP 6x24: BD-Bas droit'), ('HG_6', 'MP 2x3: HG-Haut gauche'), ('HD_6', 'MP 2x3: HD-Haut droit'), ('BG_6', 'MP 2x3: BG-Bas gauche'), ('BD_6', 'MP 2x3: BD-Bas droit'), ('HG_12', 'MP 3x4: HG-Haut gauche'), ('HD_12', 'MP 3x4: HD-Haut droit'), ('BG_12', 'MP 3x4: BG-Bas gauche'), ('BD_12', 'MP 3x4: BD-Bas droit'), ('HG_48', 'MP 6x8: HG-Haut gauche'), ('HD_48', 'MP 6x8: HD-Haut droit'), ('BG_48', 'MP 6x8: BG-Bas gauche'), ('BD_48', 'MP 6x8: BD-Bas droit')], help_text='Position du multi-puits sur la table', max_length=8, null=True, unique=True, verbose_name='Position'), ), migrations.CreateModel( name='VideoPlate', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('label', models.CharField(blank=True, max_length=200, verbose_name='Label')), ('video_file', models.FileField(blank=True, null=True, upload_to='videos/', verbose_name='Fichier vidéo')), ('active', models.BooleanField(default=True, verbose_name='Active')), ('uploaded_at', models.DateTimeField(auto_now_add=True, verbose_name='Déposé le')), ('native_fps', models.FloatField(blank=True, null=True, verbose_name='FPS natif')), ('duration_s', models.FloatField(blank=True, null=True, verbose_name='Durée (s)')), ('frame_w', models.PositiveIntegerField(blank=True, null=True, verbose_name='Largeur (px)')), ('frame_h', models.PositiveIntegerField(blank=True, null=True, verbose_name='Hauteur (px)')), ('multiwell', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='video_plates', to='scanner.multiwell', verbose_name='Multi-puits')), ], options={ 'verbose_name': 'Vidéo plaque', 'verbose_name_plural': 'Vidéos plaque', 'ordering': ['multiwell__order', '-uploaded_at'], }, ), ]