title: Using django-froala-editor, the editor works in admin page won't work in post page?Uncaught TypeError: $(...).froalaEditor is not a function
body: <p>Sorry if my previous post wasn't clear. 
  I'm using django-froala-editor, <a href="https://github.com/froala/django-froala-editor" rel="nofollow">https://github.com/froala/django-froala-editor</a> but it just won't work. I remember using this in my last project but this time it won't work. I installed and configured it ,inside admin page it works but outside admin page it won't work. I did as the doc said {{form.media}} and it won't work. In console I get U$(...).froalaEditor is not a function</p>
  
  <pre><code>&lt;script&gt;
              $(function(){
                  $('#id_content').froalaEditor({"imageUploadURL": "/froala_editor/image_upload/", "fileUploadParams": {"csrfmiddlewaretoken": getCookie("csrftoken")}, "inlineMode": false, "fileUploadURL": "/froala_editor/file_upload/", "imageUploadParams": {"csrfmiddlewaretoken": getCookie("csrftoken")}})
              });
          &lt;/script&gt;
  </code></pre>
  
  <p>which I didn't write. I have this instead</p>
  
  <pre><code>    {{ form | as_bootstrap }}
  </code></pre>
  
  <p>and in my forms.py </p>
  
  <pre><code>    content = forms.CharField(widget=FroalaEditor)
  </code></pre>
  
  <p>Is froala editor dead? or am I doing it wrong?</p>