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.

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 = patterns('',
    ...
    (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

You can contact me directly at aljosa.mohorovic@gmail.com, track updates at https://twitter.com/maljosa or use github issues. Be persistent and bug me, I often find myself lost in time so ping me if you’re still waiting for me to answer.

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.0.7 (2019-01-15)

  • Fix AppRegistryNotReady exception. (#132)

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-tinymce-2.0.7.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.7

File hashes

Hashes for django-tinymce-2.0.7.tar.gz
Algorithm Hash digest
SHA256 4634264a1151bda8cb1dc7782e268e616e08f3c7075e7917d6e16e2c63463e49
MD5 410c62c3ddb78af0d0aefe20b1c9375f
BLAKE2b-256 6df4b71e58c5e91f186f941fa594c545e776f1a94632c7a70c2272045243673b

See more details on using hashes here.

File details

Details for the file django_tinymce-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: django_tinymce-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.7

File hashes

Hashes for django_tinymce-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f909eae997cea0dfd581b37b68c320f908d569f9f273f8a4c7caac2228e7c86f
MD5 b8b0fe474e6ec5bdf89c12bbced94759
BLAKE2b-256 17612ee777768ea196e0c2db875516e7c1aa682142121eb12884b28dae7b4b3c

See more details on using hashes here.

Supported by

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