Your model post has a comment_text attribut ?
the slug passed are in the record table ?
Have you a error or your text is just not display ?

Le mar. 22 janv. 2019 à 14:15, Thiago Brito <brit...@gmail.com> a écrit :

> Hi
>
> I'm trying to save a post in my blog project. No problem. Its working.
> But, when I try to show that post, I have this situation:
>
> <h3 style="-webkit-tap-highlight-color: transparent; font-size: 25px;
> font-family: Montserrat; line-height: 40px; color: rgb(37, 58, 68);
> font-weight: 700; margin: 30px 0px; outline: none;">O que é Phyton?</h3><p
> style="-webkit-tap-highlight-color: transparent; outline: none; color:
> rgb(37, 58, 68); font-family: &quo....
>
> in my view:
>
> def view_post(request, slug):
>     post = Post.objects.get(slug=slug)
>     return render(request, 'blog/view_post.html', {'post': post})
>
>
>
> my html (the part of problem)
>
> <p>{{ post.comments_text }}</p>
>
>
> How can i got the correct format in my html?
>
> Can anyone help me?
>
> Tks
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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/CALvrLTsb7X-O4uj7UCv%2BnJmfpywx1RFqBaeEOsdz54umz0bjww%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALvrLTsb7X-O4uj7UCv%2BnJmfpywx1RFqBaeEOsdz54umz0bjww%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAO73PDoFDtQkEn4rpKKcZEKSFGgtiSQ-Zz15ePTvMKKXnBeVsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to