title: django-ckeditor {{ form.media }} not working in html
body: <p>I am trying to get ck-editor look from forms.py .<br>
  After reading docs and even on YouTube, I didn't get my desired result. <br>
  I am sharing my different file. <br>
  Please solve this. <br></p>
  <blockquote>
  <p>HTML FILE</p>
  </blockquote>
  <pre><code>&lt;form method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;
     &lt;div class=&quot;col me-2&quot;&gt;
            {% csrf_token %}
            {{ notes_form.media }}
            {{ notes_form.as_p }}
     &lt;/div&gt;
     &lt;div class=&quot;col-auto&quot;&gt;
        &lt;button class=&quot;btn btn-outline-success btn-sm border rounded-pill border-success float-end todo-submit&quot; type=&quot;button&quot;&gt;
              &lt;i class=&quot;fas fa-check&quot;&gt;&lt;/i&gt;
          &lt;/button&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  <blockquote>
  <p>Form.py</p>
  </blockquote>
  <pre><code>class NotesForm(ModelForm):
      class Meta:
          model = Notes
          fields = ['description']
  
      def __init__(self, *args, **kwargs):
          super(NotesForm, self).__init__(*args, **kwargs)
          for field in self.fields:
              self.fields[field].widget.attrs.update({
                  'class': 'form-control'
              })
  </code></pre>
  <blockquote>
  <p>views.py</p>
  </blockquote>
  <pre><code>def index(request):
      if request.user.is_authenticated:
          params = {
              &quot;notes_form&quot;: NotesForm()
          }
          return render(request, 'dashboard.html', params)
      else:
          return render(request, 'home.html')
  </code></pre>
  <blockquote>
  <p>output (html file)</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/oZQz2.png" rel="nofollow noreferrer">output image</a></p>