Re: add comments to entry & link models

2008-03-09 Thread Eric Abrahamsen
Hi there, The Comments package is a beast, but it seems that the FreeComments themselves are relatively simple – apart from some nice error checking and validation, the majority of the code is the sneaky mechanism by which you can attach comments to any content type in your project. If yo

Re: add comments to entry & link models

2008-03-09 Thread stranger
Thank you Eric for the reply. Well I am new to django I cannot do that much of coding. I want to know one thing. If I create a comment model with my desired fields, can I use that comment model with the entry and Link models. Note I am using generic views for my blog app. On Mar 9, 7:15 pm, E

Re: add comments to entry & link models

2008-03-09 Thread Eric Abrahamsen
> I tried this but I have some problem with the preview template > There are errors showing up in the freepreview.html > I dont prefer to preview the comment. I like to get it posted and also > I want to include markdown syntax... This part of the page: http://code.djangoproject.com/wiki/Usin

Re: add comments to entry & link models

2008-03-09 Thread stranger
I tried this but I have some problem with the preview template There are errors showing up in the freepreview.html I dont prefer to preview the comment. I like to get it posted and also I want to include markdown syntax... On Mar 9, 1:37 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >

Re: add comments to entry & link models

2008-03-09 Thread [EMAIL PROTECTED]
I'm not sure if you've seen this but check this page out. http://code.djangoproject.com/wiki/UsingFreeComment#AddingCommentstoDetailPages It's pretty much exactly how I'm doing it. On Mar 9, 4:16 pm, stranger <[EMAIL PROTECTED]> wrote: > Hi I think after thinking a while I felt its much better

Re: add comments to entry & link models

2008-03-09 Thread stranger
Hi I think after thinking a while I felt its much better to create a comment model for linking to both entry and link models. But I dont have to idea how to use the comment in the templates with generic views... Can anybody help me in this regard. On Mar 9, 12:55 pm, stranger <[EMAIL PROTECTED

Re: add comments to entry & link models

2008-03-09 Thread stranger
Thats a good idea...since we are not changing the django framework files we are making a local copy and working on it. Indeed you are very helpful. I'll try to do that for now and see. But writing a comment model is easy. But I dont know how to use that model in entry detail page. Anyway I need o

Re: add comments to entry & link models

2008-03-09 Thread [EMAIL PROTECTED]
Stranger, I'll go ahead and warn you that I won't be much help. In fact, I'm trying to do the exact same thing but have hit a road block. From what I understand, editing the django.contrib.comments app in it's current location is a bad thing if you ever plan on upgrading django in the future.

add comments to entry & link models

2008-03-09 Thread stranger
Hello, I would like to add comments(Freecomments) to Entry and Link model in blog application. I wish the comment model have name, email, website and body. Can anyone suggest me how to achieve this. The freecomments do not have website and email fields. if I write a model comment with the