add the ablitiy to truncate series on the site

This commit is contained in:
Ross
2023-12-18 11:54:00 +00:00
parent e1c81e04b1
commit 7b21b1ad6f
7 changed files with 255 additions and 77 deletions
@@ -0,0 +1,23 @@
# Generated by Django 4.1.4 on 2023-12-18 11:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('longs', '0010_rename_created_at_longseries_created_date_and_more'),
]
operations = [
migrations.AddField(
model_name='longseries',
name='modified',
field=models.CharField(choices=[('NO', 'Not modified'), ('TR', 'Truncated'), ('RE', 'Resliced/resampled')], default='NO', max_length=2),
),
migrations.AddField(
model_name='longseriesimage',
name='removed',
field=models.BooleanField(default=False, help_text='Set to true if the file this object refers to has been removed (either from series truncation or merging)'),
),
]