Firstly, let me appologise in advance, i'm a bit of a django
newbie....

I've been trying to implement the 'freecomments' app as shown at
'code.djangoproject.com/wiki/UsingFreeComment' and I thought
everything was going swimmingly. The templates work fine, the comment
count works, when i preview a post 'free_preview.html' shows the
comment i'm trying to post correctly, but when i actually post then
the post disappears. The count is incremented correctly but the
comment doesn't show on the detail page. When I check the admin, its
the same story, the count shows the correct number of posts, but not
posts are displayed.

When I check the db, I can see all of the comments and they look fine.
However, if I add a comment directly in the admin, the comment shows
up in the admin, but the entry on my details page that I add it too
doesn't, either increment the count or show the comment.

What i did notice when i compared the admin added comment with the
other comments was that the site_id was different. The comments added
by my detail page have an id of '1', but checking the db again, none
of my sites added have that id. The comment added in the admin, has an
id matching that of a site i've added (also in the admin).

I'm using a generic view 'list_detail.object_detail' for my detail
page, (and this is where I start to get a bit iffy), do I need to tell
the generic view about site_id and could this be screwing up the
comments?

Hope this makes sense, if not let me know what I need to post here and
i'll update with any extra info.

Cheers ears
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to