tags:

views:

27

answers:

1

Guys,

Am trying to modify the look of django comments template form on my site but in vain.

I have created a comments folder on my project template folder(myproject/template/comments/) and copied the form.html & preview.html from django/contrib/comments/template/comments/).

I have then modified my local comment form.html according to my needs.

On the template that i want to insert the comment i have added the following code

<h2> Enter your comments </h2>
{% load comments %}
{% render_comment_form for myObject %}

When i call the form, the comment form never gets rendered, just a blank page with the title Enter your comments

its like django is not seeing my local form, because when i try to insert some text in the local form.html i don't see anything?!

What am i missing

Gath

A: 

Is the path to your bespoke comments templates in your settings.TEMPLATE_DIRS? If not, Django will fall back to the templates in the django.contrib.comments package.

stevejalim
Yes folder is in the TEMPLATE_DIR
gath