Implementing Tagging with Django

46 views
Skip to first unread message

puddy

unread,
Mar 30, 2012, 3:56:07 PM3/30/12
to Django users
Hello,

I searched for tagging libraries for Django and found two (django-
tagging and django-taggit) but both are fairly old and haven't been
maintained. I'd like to implement some sort of tagging on my site - a
bookmarking type service where each link has a set of tags. I know of
how I would like to model the data at the DB level:

Bookmark Table:
bookmark_ID,title,link

Tag Table
tag_id,tag_name

TagWithBookmarkTable
tag_id,bookmark_id

I'm not quite sure how to do this at the Django Models level
though.Anyone able to help?: I feel like this is a common problem but
I haven't had much success with google searches for django tagging -
keep getting template tag results or old blog posts (maybe I should
just follow them?).

Thanks!

Willy

unread,
Mar 30, 2012, 4:02:57 PM3/30/12
to django...@googlegroups.com
Django-taggit works quite well, I would suggest trying it over django-tagging. Even if it hasn't been updated in a while it's still a good solution, and you could always make changes to it and fork your own version if it doesn't meet all your needs.

Javier Guerra Giraldez

unread,
Mar 30, 2012, 5:04:42 PM3/30/12
to django...@googlegroups.com
On Fri, Mar 30, 2012 at 3:02 PM, Willy <willy...@gmail.com> wrote:
> Django-taggit works quite well, I would suggest trying it over
> django-tagging

can you elaborate on why do you find it better? i have only tried
django-tagging some time ago, and maybe on a soon project would like
to do better

--
Javier

Reply all
Reply to author
Forward
0 new messages