Add automatic tag collections
This commit is contained in:
@@ -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),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user