Questions tagged [django-taggit]

django-taggit is a reusable Django application designed to making adding tagging to your project easy and fun.

django-taggit works with Django 1.1 and 1.2 (see Known Issues for known issues with older versions of Django), and Python 2.4-2.X.

306 questions
0
votes
1 answer

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…
eirenikos
  • 2,296
  • 25
  • 25
0
votes
0 answers

Django-selectize not showing all the tags created with django-taggit

I have a model that uses tags with django-taggit as shown on the gist here , the problem I have is that The form is rendered in the view with multiple values in the tagged field but only one does appear when the template is rendered. Can somebody…
Leonardo
  • 2,484
  • 2
  • 25
  • 37
0
votes
2 answers

Django autocomplete search by tag and render Tag List

ive searched through the autocomplete packages to realize my autocomplete search. But all what ive found is autocompleting one word. I need a list of words- not just one. It should behave like here on stack tag input. user start typing-select the…
oranj33
  • 123
  • 1
  • 4
  • 11
0
votes
1 answer

Django Taggit rendering tags as object in custom form

Duplicate question to Django-Taggit in Edit Form. However, the answer doesn't work for me. I'm using Django Taggit in a form. The form is populated by an instance of an object that has Django Taggit enabled. In my template, the forms tag input…
Jack
  • 307
  • 4
  • 15
0
votes
2 answers

Override django-taggit tags so that they are always lowercase

I couldnt find a good answer or solution for multiple tags in a model. the only thing I found close was this: How can I limit django-taggit to accept only lowercase words? here is my current code: from taggit.managers import TaggableManager from…
John
  • 359
  • 1
  • 3
  • 9
0
votes
0 answers

UpdateView with a model which includes Taggit field

I can create an object from a specific model with the generic class based view CreateView, which has a Taggit field. I also have a ModelForm based in that model. I insert many taggs separated with a comma, without any problem. I also can update it…
cor
  • 3,323
  • 25
  • 46
0
votes
1 answer

Get all objects which share the same tag

Say I have 4 different content types - photo, blog, story and drawings. Each of these content types is attached to a taggable manager. Tags = TaggableManager(blank=True, through=CustomTag) Now, say I tag each model with 'test_tag', id=1 How can I…
rix
  • 10,104
  • 14
  • 65
  • 92
0
votes
1 answer

Django taggit not installing

I'm trying to install django-taggit, but I'm getting this traceback error: Exception: Traceback (most recent call last): File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/basecommand.py", line 122, in main status = self.run(options,…
Filipe Ferminiano
  • 8,373
  • 25
  • 104
  • 174
0
votes
1 answer

save_m2m 'unicode' object has no attribute 'set'

I'm trying to use taggit in a form, but I'm getting this message: 'unicode' object has no attribute 'set' for the method save_m2m. This is my code. if form.is_valid(): response = form.save(commit=False) #response =…
Filipe Ferminiano
  • 8,373
  • 25
  • 104
  • 174
0
votes
1 answer

Taggit and Haystack with RealtimeSignalProcessor

Please note I am using elasticsearch as my backend. Taggit tags associated with my model, ObjectA, do not seem to come through in my index using the django setting HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor' When I list…
0
votes
0 answers

How can I display all the tags from each category

this is link model: class Link(models.Model) user = models.ForeignKey(User) url = models.URLField() tags = TaggableManager() category = models.ForeignKey(Category) this is category: class Category(models.Model): name =…
Amy Obrian
  • 1,183
  • 2
  • 11
  • 19
0
votes
1 answer

Taggit gets wrong tags

I have a Work model with Category Foreign Key. I am doing --> drawingTags = Tag.objects.filter(Q(work__category__slug_en = 'drawing') | Q(work__category__slug_en = 'illustration') | …
ratata
  • 1,129
  • 14
  • 42
0
votes
1 answer

why does admin UI not add tags section for some models using django-taggit?

I am new to django and I am using django-taggit 0.10a1 for tagging functionality in my django 1.4.2 application. I also tried django-tagging app but as that project was not maintained and as django-taggit had a lot of positive reviews from…
StreetCat
  • 1
  • 4
0
votes
1 answer

How to correct wrong num_times in django-taggit-templatetags?

I have the following models class Text(models.Model): text = models.CharField(max_length=10000, blank=True) tags = TaggableManager(blank=True) author = models.ForeignKey(User) date_created = models.DateTimeField(auto_now_add=True) …
Private
  • 2,626
  • 1
  • 22
  • 39
0
votes
1 answer

Django-taggit inserting

My model defines one field like keywords = TaggableManager(_('Keywords'), blank=True) From view I need to use get_or_create in a for *** with transaction.commit_on_success(): # Inserting obj_parsed defaults = { 'owner': user, …
Daviddd
  • 761
  • 2
  • 12
  • 37
1 2 3
20
21