Skip to main content

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.

https://img.shields.io/pypi/v/django-tinymce.svg https://travis-ci.org/aljosa/django-tinymce.svg https://coveralls.io/repos/aljosa/django-tinymce/badge.svg?branch=master

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.

Documentation

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

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

Project details


Download files

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

Source Distribution

django-tinymce-2.3.0.tar.gz (2.4 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page