flebel / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Add ability to relate tags with tags #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Then we could have tag "apple" that relates to "fruits", 
"computer_manufacturers" and "eatable". 
Very nice way for greating "see also"-type functionality.

It would be great if this would be possible out of the box.

Original issue reported on code.google.com by villesyn...@gmail.com on 15 Sep 2007 at 12:28

GoogleCodeExporter commented 9 years ago

Original comment by jonathan.buchanan on 29 Dec 2007 at 11:38

GoogleCodeExporter commented 9 years ago
Hang on, is this what you're asking for? It should already work:

apple = Tag.objects.get(name='apple')
Tag.objects.update_tags(apple, 'fruits computer_manufacturers eatable')

Original comment by jonathan.buchanan on 12 Jan 2008 at 1:27

GoogleCodeExporter commented 9 years ago
I'm thinking a relation between tags, not tagged objects.

Something like:

apple = Tag.objects.get(name='apple')
apple.relate_with_tags('fruits computer_manufacturers eatable')

eatable = Tag.objects.get(name='eatable')
eatable.get_related_tags()
[<apple>, <spam>, <eggs>]

I'm using this kind of functionality (simple m2m relations) in some of my 
homegrown tagged apps and I like it 
a lot. The usefulness of tagging grows enourmosly when users can build 
relations themselves. Would be nice 
to see something like this in django-tagging, too.

Original comment by villesyn...@gmail.com on 12 Jan 2008 at 8:06

GoogleCodeExporter commented 9 years ago
This could also be very handy for dealing with synonyms, spelling variations, 
and so forth without needing a lot 
of moderation or admin overhead (let the users self-moderate by defining 
relationships).

Original comment by georgeth...@gmail.com on 8 Feb 2009 at 5:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This functionality would be really useful for me to. Has anyone come up with a 
work-around yet?

Original comment by rawjam.d...@googlemail.com on 12 Jun 2009 at 2:39