Skip to main content

TinyMCE widget for Django

Project description


django-tinymce-lite is a Django application that contains a widget to render a form field as a TinyMCE editor. This package provides same namespace as django-tinymce, but grabs latest stable tinymce static files from CDN.

PyPi Version Build Status Test Coverage GitHub license


Install django-tinymce-lite:

$ pip install django-tinymce-lite

Add tinymce to INSTALLED_APPS in for your project:


In your code:

from django import forms

from tinymce.widgets import TinyMCE

from .models import FooBar

class FooBarModelForm(forms.ModelForm):
    class Meta:
        model = FooBar
        fields = ['content1']
        widgets = {
            'content1': TinyMCE


django-tinymce-lite is configured through django settings mechanism. Following options are availiable:

# Url to tinymce init js

# If you need pass extra static files for all tinymce widget
    'js': [],
    'css': {}

# Config, that passed to tinyMCE.init functions
    'selector': '.django-tinymce',
    'theme': 'modern',
    'relative_urls': False,

For tinymce configuration, read more on site.


Latest release is 1.0.0. It’s support python 2.7, 3.4, 3.5, 3.6 and Django >= 1.7.

Support and updates

Use github issues


Originally written by Aljosa Mohorovic.

Much inspired by django-select2.

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-tinymce-lite-0.0.2.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page