On Wed, Jul 2, 2008 at 3:33 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> I'm trying to use Free Comments, but coming up against a problem
> displaying the form. I've followed the tutorial at djangoproject.com
> (http://code.djangoproject.com/wiki/UsingFreeComment)
>
> So I've done these things:
>
>  - amended my urls.py to include: (r'^comments/',
> include('django.contrib.comments.urls.comments')),
>  - amended settings.py to include: 'django.contrib.comments', as an
> installed app
>  - run syncdb on this app
>  - created the correct comments templates in my appname/templates/
> comments/ directory
>  - included {% load comments %} in my template
>  - included {% free_comment_form for appname.entry object.id %}
>
> ...but the page still doesn't show a comments form.
>

Every time I have run into something not appearing in a template like I
expect, it usually results from my adding something to a template that
extends another template, but putting whatever I'm trying to add outside of
any block defined in the parent template.  So, are you using template
inheritance and if so have you put the {% free_comment_form for
appname.entry object.id %} inside of a block defined in the parent template?

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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