Installation

Install django-tinymce4-lite from PyPI:

$ pip install django-tinymce4-lite

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

INSTALLED_APPS = (
    ...
    'tinymce',
)

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

urlpatterns = [
    ...
    path('tinymce/', include('tinymce.urls')),
    ...
]

Or with old-style regex url:

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

If you want to use django-filebrowser-no-grappelli file manager, install this package. Refer to django-filebrowser documentation to learn how to install and configure the filebrowser application.

For TinyMCE spellchecker plugin you need to install pyenchant package:

$ pip install pyenchant

On some Linux systems you may also need to install binary enchant libraries prior to installing pyenchant. For example, on Debian/Ubuntu use the following command:

$ sudo apt-get install enchant

Also you need to add the necessary spelling dictionaries if they are missing from pyenchant default installation on your system.

Read “Language Configuration” subsection about configuring the tinymce4-lite spellchecker.

Upgrade

It is strongly recommended to upgrade tinymce4-lite by specifying the exact application version you want to upgrade to:

$ pip install django-tinymce4-lite==X.Y.Z

Unless you are loading TinyMCE 4 from a CDN, after upgrading you need to run Django’s collectstatic command to update TinyMCE 4 static files in your folder where your project’s static files are served from:

$ python manage.py collectstatic