post is a queryset and it doesn't have comment_text attribute.
{% for single_post in post %}
{{single_post.comment_text}}

On Tue, 22 Jan, 2019, 7:54 PM <[email protected] wrote:

> in your html use
> {{post}} instead of the .comment added
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cad1a7bf-c20c-4a0a-89bc-7cb9d8be3d3d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD-d1sYVfhc-k2Z8e9J4d%3DwVz9YSjbTeWR7XVpoC9nRMNZv%2B4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to