TinyMCE integration for Django
Python JavaScript Makefile HTML Shell
Latest commit e2951f3 Aug 22, 2016 @Natim Natim committed on GitHub Merge pull request #186 from fizista/fix_mime_type
FIX: Refused to execute script



django-tinymce is a Django application that contains a widget to render a form field as a TinyMCE editor.


Install django-tinymce:

$ pip install django-tinymce

Add tinymce to INSTALLED_APPS in settings.py for your project:


Add tinymce.urls to urls.py for your project:

urlpatterns = [
    url(r'^tinymce/', include('tinymce.urls')),

In your code:

from django.db import models
from tinymce.models import HTMLField

class MyModel(models.Model):
    content = HTMLField()

django-tinymce uses staticfiles so everything should work as expected, different use cases (like using widget instead of HTMLField) and other stuff is available in documentation.


Latest release is 2.3.0. It's support python 2.7, 3.4, 3.5 and Django >= 1.6. Previous releases can be found on github, but they are no longer maintained.



Support and updates

Use github issues https://github.com/aljosa/django-tinymce/issues


Originally written by Joost Cassee.

This program is licensed under the MIT License (see LICENSE.txt)