This commit is contained in:
24
blog/migrations/0004_remove_post_tags_post_tags.py
Normal file
24
blog/migrations/0004_remove_post_tags_post_tags.py
Normal file
@ -0,0 +1,24 @@
|
||||
# Generated by Django 4.2.14 on 2024-12-04 22:46
|
||||
|
||||
from django.db import migrations
|
||||
import taggit.managers
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('taggit', '0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx'),
|
||||
('blog', '0003_alter_post_summary'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='post',
|
||||
name='tags',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='post',
|
||||
name='tags',
|
||||
field=taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user