Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7749453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:03:12+00:00 2026-06-01T11:03:12+00:00

Im trying to implement commenting on my site using the comments framework. I’ve followed

  • 0

Im trying to implement commenting on my site using the comments framework. I’ve followed the documentation:

https://docs.djangoproject.com/en/dev/ref/contrib/comments/

https://docs.djangoproject.com/en/dev/ref/contrib/comments/example/

My template looks like:

{% extends "pbase.html" %}
{% load comments %}
{% block bcontent %}

    <div class="main">
        <a href="{{ backurl }}">&lt;&lt; back</a>
        <!-- Image -->
        <ul>
            {% if image.title %}
                <div class="title">{{ image.title }}</div>
            {% endif %}
            <ul>
                <img border="0" alt="" src="{{ media_url }}{{ image.image.name }}" width="900" />
            </ul>
        </ul>
        {% load comments %}
        {% get_comment_count for photo.image object_pk as comment_count %}
        <p>{{ comment_count }} comments have been posted.</p>
        {% render_comment_list for photo.image object_pk %}
        {% render_comment_form for photo.image object_pk %}
    </div>

{% endblock %}

On my page the number of comments is show but not the comments themselves or the form. What am I missing?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:03:14+00:00Added an answer on June 1, 2026 at 11:03 am

    photo.image should be just image. I know image is correct because you use it elsewhere in the template, and if it were wrong, you’d notice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

trying to implement a dialog-box style behaviour using a separate div section with all
I'm trying to implement undo support using Core Data on the iPhone and I
Trying to implement search with Sunspot Gem wich is using Solr.Fulltext search works fine
I've been trying to implement a commenting system for my Rails app. Every event
Trying to implement this gallery on my website. http://coffeescripter.com/code/ad-gallery/ It is noted in the
I'm trying implement a bracket in my program (using C#/.NET MVC) and I am
trying to implement a multiplayer. Using the sample from Game Center - Sending and
I am trying implement the Data transformation using Reflection 1 example in my code.
I am trying implement Using local storage with BLOB storage . I went through
Trying to implement Piwik using REST API over http but need a little help.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.