Hi there,

I am using django tagging and have problems adding tags to an object.

There are 2 methods that enable adding a tag:
- add_tag()
- update_tags()

--------------------------------------
for tag in parse_inputs(form.cleaned_data['tags']):
      Tag.objects.add_tag(tag)
---------------------------------------

This seems to work fine, but if I pass something like "Feature
Recognition" (A tag containing 2 word) I get an AttributeError
"multiple tags were given".

In the docs under "Tag input" they say that | apple "ball cat" dog |
results in these tags [apple], [ball cat], [dog].

So I tried to workaround this problem by using the update_tags method,
but this just clears all existing and inserts the passed ones.
So could someone please tell what I am doi9ng wrong, or how to add
tags????

Thanks, toni
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to