Thanks Eric. I have one question though. If I have a model named Resources how do I get a field in that that will allow me to define my tags? I put:
tags = models.GenericRelation(ObjectTag) But when I go to the admin I get a Formfield not found or something like that. Seth nkeric wrote: > hi Seth, > > here is a link to the tagging models I've done in my project, you may > want to have a look :) > > http://groups.google.com/group/django-users/browse_thread/thread/50b6712cd7738d9d/4b654db1ecaf4b2f?lnk=gst&q=ObjectTag&rnum=1#4b654db1ecaf4b2f > > Here is the basic ideas of my tagging app: > > 1. a table stores all the tag strings, each tag string is unique > 2. a table stores the relationship between a content object and its > tags, a content object could be associated with a tag for **once**; > 3. another table stores user related info, e.g, who tags which content > object with what tags. > > with this design, there is no redudent data. and with the > GenericRalation trick, you can tag anything inside your project. > > In my actual implementation, my tagging app could deal with tags like > "WEB2.0" "web 2.0" "wEB$%#2.0" and treat them as one :) since however > the user writes the "web 2.0", they are the same. > > HTH > > - Eric --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---