.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.2.10 on 2022-04-01 21:35
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('atlas', '0033_casecollection_archive'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='casecollection',
|
||||
old_name='published',
|
||||
new_name='publish_results',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='casecollection',
|
||||
name='active',
|
||||
field=models.BooleanField(default=True, help_text='If a collection should be available'),
|
||||
),
|
||||
]
|
||||
+5
-1
@@ -574,10 +574,14 @@ class CaseCollection(models.Model):
|
||||
|
||||
cases = models.ManyToManyField(Case, through="CaseDetail")
|
||||
|
||||
published = models.BooleanField(
|
||||
publish_results = models.BooleanField(
|
||||
help_text="If a collection should published", default=True
|
||||
)
|
||||
|
||||
active = models.BooleanField(
|
||||
help_text="If a collection should be available", default=True
|
||||
)
|
||||
|
||||
show_title = models.BooleanField(
|
||||
default=False, help_text="Show the title of the cases"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user