I just implemented pretty much exactly what you are looking to do by using the comments module, and it worked right out of the box. The module's a little complicated, but I found that it was easy to just leave most functionality out. I followed along with the instructions here: http://www.guindilla.eu/blog/2006/10/21/comment-and-karma-functions-django-framework/
And then I had that eureka moment, that the full comments module can be treated like free comments, and you get comments linked with users and you don't have to even look at the other functionality. The only code it looks like I will have to write is related to the template tags -- it seems like the get_comments template tags need to know what the model class is in order to work. Like you, I need comments on several models, and I have some template code that is model-agnostic. In any case, the template tags interface for comments is a little strange, so I don't feel bad just leaving that out. In all, I am happy using django comments instead of implementing models myself. I am about 95% sure that it's less time this way. On 19 Jun., 18:55, "Chris H." <[EMAIL PROTECTED]> wrote: > On Jun 19, 12:53 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > > > Hi Chris, > > > May be you can try thismodel: > > ... > > While I could store each comment off as an instance of aCommentsmodel, I > don't really have a need to do so. I'm wanting to have thecommentsstored as > a TextField on the main object since there's no > need to reference them individually. > > I suppose I could also create an Abstract Base Class for this, > something like CommentableItemBase that would have the functionality > defined there to keep it DRY. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---