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://img.shields.io/pypi/pyversions/django-tinymce.svg https://img.shields.io/pypi/dm/django-tinymce.svg https://img.shields.io/travis/aljosa/django-tinymce.svg https://img.shields.io/coveralls/aljosa/django-tinymce.svg

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.3.0. It’s support python 2.7, 3.4, 3.5 and Django >= 1.6. 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/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.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

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.4.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_tinymce-2.4.0-py2.py3-none-any.whl (4.1 MB view details)

Uploaded Python 2Python 3

File details

Details for the file django-tinymce-2.4.0.tar.gz.

File metadata

File hashes

Hashes for django-tinymce-2.4.0.tar.gz
Algorithm Hash digest
SHA256 98ba9b950929bee014474c45cd1341778699e7abf4495a7b008184b1ff3214f7
MD5 99f2c2b6210732c48b6b3e79c6ca9502
BLAKE2b-256 df94096d4b7dce3fafbe63313f661927f1b5b4609930cc5d01b4ac32e51dfc44

See more details on using hashes here.

File details

Details for the file django_tinymce-2.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_tinymce-2.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3223271340244c78a200fb475d016167d9c8ef0f285b205ccb6c205ce3d800b5
MD5 0a8526a0101fe9cf61013dc4db38bcd3
BLAKE2b-256 c0a2a99feb5e89bce4323010aeb2ebaf1bb5669a176b20c0232d811b6e569716

See more details on using hashes here.

Supported by

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