With comments installed you can use the comments template tags to
attach a comment thread to any object in the template.

For example, for a hypothetical blog post, the template code to get
the list of free comments for the object might look like this:

{% load comments %}
{% get_free_comment_list for blog.posts object.id as comment_list %}

There's also a templage tag for spitting out the form for posting a
comment to that object:

{% free_comment_form for blog.posts object.id %}

You can find out more about how the comment tags work in the
templatetags library in django.contrib.comments:
http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/templatetags/comments.py

On 5/10/06, Phil Powell <[EMAIL PROTECTED]> wrote:
> HI all,
>
> I'm a relative newbie to django, but so far I'm mightily impressed
> (particularly with the speed of development).
>
> I've just run into my first serious problem when trying to get comments
> functioning though.  Here's what I've done:
>
> added 'django.contrib.comments' to my INSTALLED_APPS
> run 'python manage.py install comments'
> run 'python manage.py syncb'
>
> When I'm looking in admin, I can see the new 'Comments' and 'Free comments'
> sections, and there are advanced options for flatpages, but I can't see
> anything which allows me to administer comments for my models.  Am I missing
> something completely obvious?  Or have I missed out a step?
>
> Thanks in advance.
>
> -Phil
>
>  >
>

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

Reply via email to