title: tinymce widget usage in django template
body: <p>I created a model </p>
  
  <pre><code>class Post(models.Model):
      title = models.TextField()
      body = models.TextField()
  </code></pre>
  
  <p>and created <strong>forms.py</strong> as</p>
  
  <pre><code>class PostForm(forms.ModelForm):
      class Meta:
          model  = Post
          fields = ('title', 'body',)
  </code></pre>
  
  <p>I have added tinymce and it works in admin but doesn't render it in template. I tried to override the form through a variant of forms.py as</p>
  
  <pre><code>class PostForm(forms.ModelForm):
  
      title = forms.TextField(widget=TinyMCE(attrs={'cols': 100, 'rows': 10})
  
      class Meta:
          model  = Post
          fields = ('title', 'body',)
  </code></pre>
  
  <p>but it doesn't work . Thanks in advance</p>