django-taggit
how to show tags related to a particular tag in django taggit ?
I want to show a list of tags that is related to a particular tag(in an optimised way). I wonder why django-taggit does not provide an inbuilt functional开发者_如何学运维ity for this common task.The[详细]
2023-03-27 20:56 分类:问答How can you limit the maximum number of tags an object can have in django-taggit?
I\'ve been really impressed with the implementation of django-taggit as an application for handling tags within Django. However, I have been unable to fin开发者_如何转开发d a way to set a maximum numb[详细]
2023-03-17 09:11 分类:问答django-taggit: Is there a way to produce less db queries?
Say I have a model: class Entry(models.Model): ... tags = TaggableManager() When I iterate over Entry.objects.all() in a template, entry.tags.all produces one more query to the database. Is it poss[详细]
2023-03-16 21:50 分类:问答django-taggit - how do I display the tags related to each record
I\'m using django-taggit on one of my projects and I\'m able to save and tie the tags with specific records. Now the question is how do I display the tags related to each record?[详细]
2023-03-11 09:54 分类:问答How can I limit django-taggit to accept only lowercase words?
I\'m using django-taggit. I\'d like to have all tags in lowercase, also set a range for t开发者_如何学Cag numbers (say between 1 and 5, just like stackoverflow). Is there any way to do it easily with[详细]
2023-03-08 20:27 分类:问答Django Taggit - Tag Associations not Saving from Custom Admin Form
Going nuts over here... From within the shell, I can do: product.tags.add(\"a_new_tag\") The tag is added to the db, and the tag association with the product works correctly. (i.e., when I do Prod[详细]
2023-03-05 00:40 分类:问答django/taggit - error: MyData objects need to have a primary key value before you can access their tags
I\'m trying to use django-taggit (see). This is what I have in my code: models.py class MyData(models.Model):[详细]
2023-02-22 05:40 分类:问答django/taggit - unhashable type: 'list'
I\'m using django-taggit (see here). This is what I have: forms.py from taggit.forms import * class MyForm(forms.Form):[详细]
2023-02-21 21:29 分类:问答django - django-taggit form
I would like to use django-taggit (click here ). The documentation (click here) talks about using ModelForm to generate the form but I have already my form that I would like to use.[详细]
2023-02-18 21:07 分类:问答Django __in lowercase
I\'m using django-taggit, which handles the attachment of tags to arbitrary content types. I imported a large tag list, which contains many uppercase words, as well as lowercase words.[详细]
2023-01-20 06:27 分类:问答