title: How to use django-summernote in templates
body: <p>I have setup django-summernote on my project and everything is great, it works very good on admin , but i want to use it on my templates.</p>
  
  <p><strong>Note :</strong>
  in django-summernote documentation they only explain how to use it if you have forms.py file but I dont</p>
  
  <p>my main urls.py :</p>
  
  <pre><code>urlpatterns = [
      path('games/', include('core.urls', namespace='core')),
      path('summernote/', include('django_summernote.urls')),
  ]
  </code></pre>
  
  <p>my app(name=core) urls.py :</p>
  
  <pre><code>from django.urls import path
  from . import views
  app_name = 'core'
  urlpatterns = [
      path('new/', views.GameCreate.as_view(), name='game_new'),
      path('&lt;int:pk&gt;/edit/', views.GameUpdate.as_view(), name='game_edit'),
  ]
  </code></pre>
  
  <p>my views.py :</p>
  
  <pre><code>class GameCreate(LoginRequiredMixin, CreateView):
  
      model = Game
      template_name = 'core/game_new.html'
      fields = '__all__'
      redirect_field_name = 'home'
  
  class GameUpdate(LoginRequiredMixin, UpdateView):
      model = Game
      template_name = 'core/game_edit.html'
      fields = '__all__'
  </code></pre>
  
  <p>my template file "game_new.html" :</p>
  
  <pre><code>{% extends 'base.html' %}
  {% load crispy_forms_tags %}
  {% block title %} Add New Game {% endblock %}
  
  {% block main %}
  &lt;section class="main-section"&gt;
      &lt;div class="container"&gt;
          &lt;h1&gt;New Game&lt;/h1&gt;
          &lt;form action="" method="post" enctype="multipart/form-data"&gt;
              {% csrf_token %}
              {{ form|crispy }}
              &lt;input type='submit' value="Save" /&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/section&gt;
  {% endblock %}
  </code></pre>
  
  <p>my template file "game_edit.html":</p>
  
  <pre><code>{% extends 'base.html' %}
  {% load crispy_forms_tags %}
  {% block title %} Game Info {% endblock %}
  
  {% block main %}
  &lt;section class="main-section"&gt;&lt;/section&gt;
      &lt;div class="container"&gt;
          &lt;h1&gt;Edit Game Info&lt;/h1&gt;
          &lt;form action="" method="post"&gt;
              {% csrf_token %}
              {{ form|crispy }}
              &lt;input type="submit" value="Update" /&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/section&gt;
  {% endblock %}
  </code></pre>
  
  <p>my Models.py :</p>
  
  <pre><code>from django.db import models
  from django.urls import reverse
  
  # Create your models here.
  
  class Game(models.Model):
      name = models.CharField(max_length=140)
      developer = models.CharField(max_length=140)
      game_trailer = models.CharField(max_length=300, default="No Trailer")
      game_story = models.TextField(default='No Story')
  </code></pre>