django-tinymce4

django-tinymce4 is a Django application that contains a widget to render a form field as a TinyMCE editor. This project is a fork of django-tinymce which currently supports only TinyMCE v3

WARNING:

v3.0 uses TinyMCE v4.x and is not backwards compatible w/ previous versions.

Quickstart:

Install requirements:

$ pip install -r requirements.txt

Install django-tinymce:

$ pip install django-tinymce4

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

INSTALLED_APPS = (
    ...
    'tinymce',
)

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

urlpatterns = patterns('',
    ...
    (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.

Support and updates:

For any issue with this package please use the issue tracking on github, one of the collaborator will help you

License (and related information):

This project is a fork of aljosa/django-tinymce. Originally written by Joost Cassee.

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