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 [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/CALvrLTsb7X-O4uj7UCv%2BnJmfpywx1RFqBaeEOsdz54umz0bjww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.