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
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.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_tinymce-2.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13308c111dcac6f972f822fd52b695044d2f6b1c070636f5223b7e1cbec69d17 |
|
MD5 | c09f7a7862f3152556955947327337da |
|
BLAKE2b-256 | 33f62d8fe88380b5963167df0cf6b8407f87e470f290a656726dae2b837d4b7a |