Skip to main content

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

Project description

gu-django-tinymce ===

gu-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 gu-django-tinymce:

$ pip install gu-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.4.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.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

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

gu-django-tinymce-2.7.2.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

gu_django_tinymce-2.7.2-py2.py3-none-any.whl (4.1 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file gu-django-tinymce-2.7.2.tar.gz.

File metadata

  • Download URL: gu-django-tinymce-2.7.2.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for gu-django-tinymce-2.7.2.tar.gz
Algorithm Hash digest
SHA256 8a61b721a1185053e6da5cd6c993ca7a89454fbf3171acecdf984defa92b8d64
MD5 b9b592fcc5b0e44d4859c701be3fd0da
BLAKE2b-256 1a3ac1dc9bd0899cc9fc495557bedb1ee166b1a04c34c46c5d7f7c2196f3739a

See more details on using hashes here.

File details

Details for the file gu_django_tinymce-2.7.2-py2.py3-none-any.whl.

File metadata

  • Download URL: gu_django_tinymce-2.7.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for gu_django_tinymce-2.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 78be256f72f50111ad6d010e1c5d48433d15b42d6ca95b55692fa8b3b83ada25
MD5 a7719341a511f6a8b8ebdda1c8204891
BLAKE2b-256 9d2c02678f831262704faf2eb31f667b7e5d82b129f627f2cd3caa0ae04c2ea1

See more details on using hashes here.

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