Skip to content
Discussion options

You must be logged in to vote

@HelloMukama,
Replace obj in the comment tags with submission your actual object.
Update your details.html as following:

Edit: Move the {% render_comments submission request %} inside the {% block content %} and get rid of {% get_comments_count obj user %}.

{% extends "base/base.html" %}
{% block title %} Submission | Details {% endblock %}
{% load static %}
{% load comment_tags %}  {# Loading the template tag #}

{% block content %}

<div class="row ml-3 pl-lg-4">
    <div class="col-12 col-xl-12 ml-3">
        <div class="card card-body shadow-sm mb-4">
            <h6 class="mb-4">Details of this submission <span>as of {{time.now}}</span></h6>

            <div class="">
                <

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
9 replies
@Radi85
Comment options

@HelloMukama
Comment options

@HelloMukama
Comment options

@HelloMukama
Comment options

@Radi85
Comment options

Comment options

You must be logged in to vote
6 replies
@HelloMukama
Comment options

@HelloMukama
Comment options

@abhiabhi94
Comment options

@HelloMukama
Comment options

@HelloMukama
Comment options

Answer selected by Radi85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants