简体   繁体   中英

Tags doesn't created with django-taggit

I using django-taggit and I have a problem with creation tags field with next code:

tags = TaggableManager()

All other fields from model are created. But tags don't :( I tried with Django1.7.1 and 1.7.2, also with db's sqLite and MySql.

In migrations is created

('tags', taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags'))

but why it doesnt apply... I don't know. Somebody has a idea?

选项through='taggit.TaggedItem'表示存在用于多对多关系的单独表。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM