Questions tagged [django-tagging]

A generic tagging application for Django projects, which allows association of a number of tags with any Django model instance and tries to simplify retrieval of tags. Use this tag for questions related to the django application or tagging issues in Django.

A generic tagging application for Django projects, which allows association of a number of tags with any Django model instance and tries to simplify retrieval of tags. Use this tag for questions related to the Django application or tagging issues in Django.

87 questions
0
votes
0 answers

tastypie save_m2m, TagRelatedManager evaluates to False

Actually, I'm trying to save a tastypie model resource which contains a TagField from django-tagulous Here are my model, and resources: # models.py class SimpleModel(models.Model): topics = tagulous.models.TagField() title =…
slackmart
  • 4,754
  • 3
  • 25
  • 39
0
votes
1 answer

Is it ok to hardcode dynamic links in a permanent view?

Let's say I wanted to showcase 2-3 clickable buttons on my homepage which will be there permanently. These are links to the css, html, and javascript tag listing pages. Is it fine to just hardcode href=/tags/css and href=/tags/html right in my…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
0
votes
0 answers

I have ascii characters errors django-tagging in admin panel

I'm using django-tagging for tags. But I have a problem. Tags have a ascii character. Example: ı Problem => UnicodeDecodeError at /admin/tagging/taggeditem/ 'ascii' codec can't decode byte 0xc4 in position 15: ordinal not in range(128) Request…
Mazlum Ağar
  • 41
  • 11
0
votes
1 answer

how do I filter tags with django-tagging?

I'm using the django app django-tagging and I'm trying to filter out certain tags for a simple tag search. the variable 'tag' is text of some tag I am searching for. 'Widget' is the model associated with the tags. tags =…
vagabond
  • 1,717
  • 4
  • 19
  • 21
0
votes
1 answer

Using taggit django

I am using the django taggit to add tags to all bids. My bid model is as follows: class Bid(models.Model): tags = TaggableManager() How can I remove a particular tag from all bids who have that tag? I was going to do the following: Let's say I…
jewelwast
  • 2,657
  • 4
  • 17
  • 13
0
votes
1 answer

How to add a user to django-tagging

I'm looking for a way to add "user = models.ForeignKey(User, editable=False)" to django-tagging model with templatetags support but my django knowledge is too low to understand the code of django-tagging.
user164862
0
votes
1 answer

Installing django-blog-zinnia

I am going through the docs of http://django-blog-zinnia.com/documentation/getting-started/install/ and when I syncdb I get this error, tagging is in my installed apps, can someone help me? Traceback (most recent call last): File "manage.py", line…
Klanestro
  • 3,185
  • 5
  • 25
  • 31
0
votes
1 answer

Django-tagging 2 tag field in same model

I'm using django-tagging. It works fine when I want 1 tag collection for the model. But now i need to use 2 different collections, somehow like this: class Compare(models.Model): title = models.CharField(max_length=255) left_tags =…
Krizsán Balazs
  • 386
  • 1
  • 4
  • 18
-1
votes
2 answers

Django tagging select_related

I using Django tagging project. That is was very stable project. Working on django 1.3. But i have a problem. # in models.py from tagging.fields import TagField class Blog(models.Model): title = models.CharField(max_length = 300) …
Ankhaa
  • 1,128
  • 2
  • 12
  • 17
-1
votes
1 answer

OperationalError 1054 Unknown column 'tags' using django-tagging

I'm trying to use django-tagging in my django app, but I'm getting an SQL error when inserting the field my model has tags = TagField() >>> from cms.models import Articles >>> a=Articles() >>> a.save() OperationalError: (1054, "Unknown column 'tags'…
-1
votes
1 answer

Django template tag: getting key, value of dictionary

I want to access the key, value of below dictionary and output them into Django template file. However, I couldn't get the value. It raised an error. How to access each dictionary key, and its values (option_name, answer,…
-1
votes
1 answer

Django Tag object

Django Tag object has a default function add_tag(), it seems it only allow one word for the tag name, is there anyway to save a tag contains more than one words?
DBZHOU
  • 169
  • 2
  • 12
1 2 3 4 5
6