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

"Method Not Allowed (Post): /" error while using ontact us form on home

I've added the contact us functionality in the footer using inclusion tag and form on my website. It's working perfectly fine on all the pages except the "home" page, throwing this error: Method Not Allowed (POST): / Method Not Allowed:…
jitesh2796
  • 164
  • 6
  • 14
0
votes
1 answer

How do I include strings from a non-tag field as tags using django-tagging?

In Django, using the django-tagging app, I want to make it so that items included in a field that isn't a TagField (e.g., authors, in this example) are added to the list of explicitly provided tags when the object is saved. class…
pealco
  • 330
  • 1
  • 3
  • 11
0
votes
1 answer

Only the first form in Django forloop submitting data. The other forms submit empty fields

I am facing a situation whereby only the first form in the forloop in the code below can submit data. The rest of the forms after the first forloop posts empty data. What could be the problem. I believe my views is good since it's able to process…
Muteshi
  • 820
  • 1
  • 10
  • 25
0
votes
1 answer

Breadcrumb dynamic content

I have a simple breadcrumb which is working great. But I want to add a feature, that every < li > tag is going to be displayed depending on the user's group. So if the user is in group sample1, only the sample1 tag will be visible in the…
0
votes
1 answer

Django multiple User groups

Ok, so I have multiple users, and they belong to one, or more than one user group(I have 4 groups). Each group has its own bootstrap card which shows on the HTML page. How can I show 1,2,3 or more cards, depending on the user group? If a user is in…
0
votes
2 answers

django-tagging only show tags from filtered items

I was wondering how you can filter an object in django-tagging. For instance if you have written an article and the status is still draft you obviously don't want to show these before the article has been pushed to a live status. Do you do it in the…
ApPeL
  • 4,801
  • 9
  • 47
  • 84
0
votes
1 answer

django-taggit 404 when using multiple word tag

I am implementing taggit tags to create a round-trip of pages. I have used the example code from the bakery-demo. Problem is that I need tags with multiple words, say two words like 'Design Thinking'. The back-end covers this neatly, creating a slug…
0
votes
2 answers

Django taggit integration with frontend (auto-complete and auto-suggest)

I'm looking for a django app that provides a form-filed with taggit integration and a front end JS tagging library as mentioned here: jQuery autocomplete tagging plug-in like StackOverflow's input tags? Do I have to implement this myself or is…
Kotlinboy
  • 3,725
  • 4
  • 16
  • 27
0
votes
1 answer

‘Machine tags’ referencing model instances in Django

Example problem Say, you have models Publication, Photo, Event and Person; they could relate to each other in different ways. Particularly, publications can have 1) some illustrations (related photos) and 2) some mentioned personas. Events can have…
Anton Strogonoff
  • 32,294
  • 8
  • 53
  • 61
0
votes
4 answers

What is the best UI for selecting tags from a list of existing tags?

I am using django-tagging. My model simply contains a field with a comma separated list of tags. I would like the user to be able to select tags from a list of already existing tags and also allow the user to add tags. Still resulting a…
berryg
0
votes
0 answers

Error loading templatetags from a Django application

I'm trying to load the templatetags included with the django-tagging application (django-tagging templatetags docs don't specify what the load statement should be) but I'm getting a TemplateSyntax error reminding me to load or register the tag -…
jayuu
  • 443
  • 1
  • 4
  • 17
0
votes
1 answer

Django-voting: what is the right way of appending tags

i'm starting with django-tagging and I don't understand why update_tags(object, new_tag) method replaces all existing tags on object by new_tag. What is the proper way to append a tag to the existing tags on an object inside a views? EDIT: add_tag…
Mermoz
  • 14,898
  • 17
  • 60
  • 85
0
votes
1 answer

Getting all the tags associated with the parent object using django-taggit

I have models Restaurant & Review. Review has TaggableManager() I have no problem in making tags work for Reviews. But I also want to know all the tags that are associated with the Restaurant object. I can write my own function that iterates…
Sathish
  • 409
  • 8
  • 24
0
votes
1 answer

Django (1.9) Watson index Django Tagging TagField

How can I index a field that is managed by the Django Tagging (v0.4.5) TagField manager? The tags are all working correctly and Watson (v1.2.1) is indexing the models and returning results from searching the char and text fields as it should but…
Rich Ross
  • 653
  • 6
  • 8
0
votes
1 answer

assign list of string to a taggable field

I have a list s where, s = 'The name of my country is Bangladesh' I converted the string into list of strings like below: ss = s.split() Again, in my database model I have a field keywords keywords = TaggableManager(_('keywords'), blank=True,…
cjahangir
  • 1,773
  • 18
  • 27