Skip to main content

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

Project description

django-tinymce4
===

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

WARNING:
===
v3.0 uses TinyMCE v4.x and is not backwards compatible w/ previous versions.

Quickstart:
===

Install requirements:

$ pip install -r requirements.txt

Install django-tinymce:

$ pip install django-tinymce4

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-tinymce4** 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 (and related information):
===
Originally written by Joost Cassee.

This program is licensed under the MIT License (see LICENSE.txt)

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-tinymce4-3.0.2.tar.gz (436.7 kB view details)

Uploaded Source

File details

Details for the file django-tinymce4-3.0.2.tar.gz.

File metadata

File hashes

Hashes for django-tinymce4-3.0.2.tar.gz
Algorithm Hash digest
SHA256 f2ebefb48a08a0326f6deb5b34fc320f602f53a5b5e4739f48104ef1286747a1
MD5 7908676c894070d348150da36f663c3b
BLAKE2b-256 7790554f52f97c8435e651828d3c7a0136f8d0d363869db3a8ed8c1f2f14c760

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