title: How to separate lines in django text_Field model?
body: <p>I have written the following code in my <strong>models.py</strong> file:</p>
  <pre class="lang-py prettyprint-override"><code>from django.db import models
  from django.utils import timezone
  from django.contrib.auth.models import User
  from django.urls import reverse
  # Create your models here.
  
  class Post(models.Model):
      title = models.CharField(max_length=200)
      content = models.TextField()
      date_posted = models.DateTimeField(default=timezone.now)
      author = models.ForeignKey(User, on_delete=models.CASCADE)
      genere = models.CharField(max_length=50, default='')
  
      def __str__(self):
          return f'{self.title} by {self.author}'
  </code></pre>
  <p>In my <strong>views.py</strong> file I have written:</p>
  <pre class="lang-py prettyprint-override"><code>from django.shortcuts import render
  from .models import Post
  from django.views.generic import ListView
  
  class PostListView(ListView):
      model = Post
      template_name = &quot;blog/index.html&quot;
      context_object_name = &quot;posts&quot;
      ordering = [&quot;-date_posted&quot;]
  </code></pre>
  <p>In my <strong>index.html</strong> I have written:</p>
  <pre class="lang-html prettyprint-override"><code>{% extends &quot;blog/base.html&quot; %}
  {% load static %}
  {% block content %}
      {% for post in posts %}
              &lt;article class=&quot;col-12 col-md-6 tm-post&quot;&gt;
                  &lt;hr class=&quot;tm-hr-primary&quot;&gt;
                  &lt;a href=&quot;{% url 'blog-detail' post.id %}&quot; class=&quot;effect-lily tm-post-link tm-pt-60&quot;&gt;
                      &lt;div class=&quot;tm-post-link-inner&quot;&gt;
                          &lt;img src=&quot;{% static 'img/img-01.jpg' %}&quot; alt=&quot;Image&quot; class=&quot;img-fluid&quot;&gt;
                      &lt;/div&gt;
                      &lt;span class=&quot;position-absolute tm-new-badge&quot;&gt;New&lt;/span&gt;
                      &lt;h2 class=&quot;tm-pt-30 tm-color-primary tm-post-title&quot;&gt;{{ post.title }}&lt;/h2&gt;
                  &lt;/a&gt;
                  &lt;p class=&quot;tm-pt-30&quot;&gt;
                      {{ post.content|safe|truncatewords:&quot;30&quot;|linebreaks }}
                  &lt;/p&gt;
                  &lt;div class=&quot;d-flex justify-content-between tm-pt-45&quot;&gt;
                      &lt;span class=&quot;tm-color-primary&quot;&gt;{{ post.genere }}&lt;/span&gt;
                      &lt;span class=&quot;tm-color-primary&quot;&gt;{{ post.date_posted|date:'N j,Y' }}&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;hr&gt;
                  &lt;div class=&quot;d-flex justify-content-between&quot;&gt;
                      &lt;span&gt;36 comments&lt;/span&gt;
                      &lt;span&gt;by {{ post.author }}&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/article&gt;
          {% endfor %}
  {% endblock %}
  </code></pre>
  <p>Suppose if I add the following things in my <strong>post.content</strong>:</p>
  <pre><code>laborum deserunt do excepteur minim sint reprehenderit dolor id mollit
  pariatur occaecat quis in qui
  pariatur occaecat quis in qui
  pariatur occaecat quis in qui
  </code></pre>
  <p>So, it is displayed like:</p>
  <pre><code>laborum deserunt do excepteur minim sint reprehenderit dolor id mollit pariatur occaecat quis in qui pariatur occaecat quis in qui pariatur occaecat quis in qui
  </code></pre>
  <p>What can I do to resolve this issue?</p>