Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Django application that contains a widget to render a form field as a TinyMCE editor.

Project Description

django-tinymce

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

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 = [
    ...
    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.

Releases

Latest release is 2.6.0. It supports python 2.7, 3.4, 3.5 and Django >= 1.7. 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

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.

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

Release History

This version
History Node

2.7.0

History Node

2.6.0

History Node

2.5.0

History Node

2.4.0

History Node

2.3.0

History Node

2.2.0

History Node

2.1.0

History Node

2.0.6

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.5.4

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5.1b4

History Node

1.5.1b3

History Node

1.5.1b2

History Node

1.5.1b1

History Node

1.5.1a3

History Node

1.5.1a2

History Node

1.5.1a1

History Node

1.5.1.dev101

History Node

1.5.1.dev100

History Node

1.5

History Node

1.4.1

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
django_tinymce-2.7.0-py2.py3-none-any.whl
(4.1 MB) Copy SHA256 Hash SHA256
py2.py3 Wheel Dec 19, 2017
django-tinymce-2.7.0.tar.gz
(2.5 MB) Copy SHA256 Hash SHA256
Source Dec 19, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting