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