Search code examples
mysqldjangodjango-modelsdjango-taggit

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?


Solution

  • Option through='taggit.TaggedItem' means that there is separate table for many-to-many relations.