Skip to main content

django-tinymce

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

Jazzband https://img.shields.io/pypi/v/django-tinymce.svg https://img.shields.io/pypi/pyversions/django-tinymce.svg https://img.shields.io/pypi/dm/django-tinymce.svg GitHub Actions Code coverage

Quickstart

Install django-tinymce:

$ pip install django-tinymce

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

INSTALLED_APPS = (
    ...
    'tinymce',
)

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

urlpatterns = [
    ...
    path('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.

Releases

Latest release is 3.4.0. It supports Python 3.6+ and Django 2.2 to 3.2.

Using TinyMCE 5.10.1.

Previous releases can be found on github, but they are no longer maintained.

Documentation

http://django-tinymce.readthedocs.org/

Support and updates

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

License

Originally written by Joost Cassee.

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

Changelog

This document describes changes between each past release.

3.4.0 (2021-11-25)

  • Upgrade to TinyMCE 5.10.1

  • Confirmed support for Django 3.2

  • Repair the spellchecker plugin functionality.

3.3.0 (2021-03-24)

  • Add support for Django 3.1

  • Improve detection of dynamically added formsets

  • Update configuration documentation

3.2.0 (2020-12-10)

  • Remove support for universal builds

  • Add compatibility of django-filebrowser with tinymce 5

  • Load the CHANGELOG in the documentation front page

  • Fix en_US language loading

  • Speed up tests by removing the loading of a database

  • Add verbosity option to tests

  • Assume TinyMCE files are utf-8 encoded

3.1.0 (2020-09-29)

  • Add support for language configuration

  • Upgrade to TinyMCE 5.5.0

  • Remove the jQuery dependency and fix multiples errors around that

  • Move to the Jazzband organization

3.0.2 (2020-04-22)

  • Update the default config.

3.0.0 (2020-04-10)

  • Upgrade to TinyMCE 5

  • Fix compressor

2.9.0 (2020-04-10)

  • Upgrade test matrix to Python 3.7 and Django 2.1, 2.2

  • Add support for TinyMCE FileBrowser 4.0

  • Remove support for South

2.8.0 (2019-01-15)

  • Use the attrs set on instantiation as well as the attrs passed to render (#237)

2.7.0 (2017-12-19)

  • Drop support for Django 1.7, 1.8, 1.9 and 1.10.

  • Django 1.11 is still supported but issues a deprecation warning.

  • Add support for Django 2.0

  • Added INCLUDE_JQUERY setting to decide whether TinyMCE.media should include a jQuery release (#190).

2.6.0 (2017-01-23)

  • Avoid deprecation warning with django.core.urlresolvers (#188)

  • Fixed a client-side validation issue when the TinyMCE widget has the HTML required attribute set (#187).

  • Fixed a crash when no languages are activated (#175).

2.5.0 (2017-01-23)

  • Added compatibility for Django 1.11.

  • Dropped support for Django 1.6.

2.4.0 (2016-08-31)

  • Added compatibility for Django 1.10.

  • Fix JQuery Problem with grappelli

  • Fix Python 3 compatibility (#170)

  • Improve documentation (#163, #171)

  • Cleaned Imports (#182)

  • Fix TinyMCE Widget for ModelTranslation tabs (#174)

  • Fix JSON mimetype (#186)

2.3.0 (2016-03-10)

  • Added tests (#149)

  • Improved Python3 support

2.2.0 (2015-12-23)

  • TinyMCE compressor now use staticfiles to get the file content (and to find files that are in multiple static directory.) (#142)

2.1.0 (2015-12-23)

  • Rewrite URL files to let it works with Django 1.9 (#147, #148)

  • Add a CONTRIBUTORS file.

2.0.6 (2015-11-12)

  • Make sure jQuery is loaded both in the admin and for non-admin forms. (#141)

2.0.5 (2015-09-09)

  • Use static finders for development mode. (#131)

2.0.4 (2015-08-07)

  • Fix non-admin jQuery.

2.0.3 (2015-08-06)

  • Handle non-admin jQuery. (#108)

2.0.2 (2015-07-26)

  • Add Python3 support.

2.0.1 (2015-07-24)

  • Fix missing CHANGELOG.

2.0.0 (2015-07-23)

  • Starts supporting Django 1.8

Older Changelog entries can be found on https://github.com/jazzband/django-tinymce/blob/3.1.0/docs/history.rst

Release files for django-tinymce 3.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tinymce 3.4.0
File Size Uploaded
django-tinymce-3.4.0.tar.gz 960.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-tinymce 3.4.0
File Interpreter ABI Platform
django_tinymce-3.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / django-tinymce-3.4.0.tar.gz

Download URL django-tinymce-3.4.0.tar.gz
Size 960.5 kB
Tags Source
SHA-256 checksum
How to use checksums
275653dbf09fbd3347928757d6baf29040b42fe5c5d95396418c36aa4b1517eb
BLAKE2b-256 checksum
How to use checksums
da4443f8b21cb68c0b333526b8135f8bfb104e7b851db5465ec7f33b022c3df4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release files / django_tinymce-3.4.0-py3-none-any.whl

Download URL django_tinymce-3.4.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4241eb201c670892aa8980a130652f4ae818ba24702f078336296d25e9e1658b
BLAKE2b-256 checksum
How to use checksums
1bcc0209945e5214f4518dd893ae10a2f957a56004cec35351611d0e1c5fb53a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release history Release notifications | RSS feed

5.0.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.7.1

2 release files

3.7.0

2 release files

3.6.1

2 release files

3.6.0

2 release files

3.5.0

2 release files

This release

3.4.0 This release

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.2

2 release files

3.0.1

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.1

2 release files

2.7.0

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

1 release file

2.2.0

2 release files

2.1.0

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.5.4

2 release files

1.5.3

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5

1 release file

1.4.1

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page