Add automatic tag collections

This commit is contained in:
rucki
2026-08-27 16:48:56 +02:00
parent 2bcd9d901a
commit 682f5f7442
11 changed files with 197 additions and 56 deletions
@@ -0,0 +1,27 @@
# Generated by Django 5.2.17 on 2026-08-27 14:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0017_collection_collectionsection'),
]
operations = [
migrations.RemoveField(
model_name='collection',
name='tags',
),
migrations.AddField(
model_name='collection',
name='filter_tags',
field=models.ManyToManyField(blank=True, related_name='tag_collections', to='core.tag'),
),
migrations.AddField(
model_name='collection',
name='mode',
field=models.CharField(choices=[('manual', 'Manual collection'), ('tags', 'Tag collection')], default='manual', max_length=10),
),
]