Skip to content

dani0805/django-tinymce4

This branch is 33 commits ahead of, 409 commits behind jazzband/django-tinymce:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3536045 · Jul 17, 2016
Sep 9, 2015
Jun 18, 2014
Jul 15, 2016
Sep 9, 2015
Sep 10, 2008
Sep 9, 2015
Sep 9, 2015
Feb 26, 2013
Jun 5, 2016
Sep 13, 2014
Sep 9, 2015

Repository files navigation

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)

About

TinyMCE integration for Django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.2%
  • Python 5.2%
  • Other 0.6%