Skip to content

jazzband/django-tinymce

Folders and files

NameName
Last commit message
Last commit date
Feb 3, 2024
Jun 21, 2024
Jan 3, 2025
Jan 3, 2025
Mar 10, 2021
Aug 5, 2024
Jun 21, 2024
Nov 4, 2021
Sep 17, 2020
Mar 17, 2023
Sep 10, 2008
Feb 6, 2024
Jun 21, 2024
Feb 26, 2013
Jun 21, 2024
Dec 6, 2020
Mar 1, 2024

Repository files navigation

django-tinymce

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

It supports Python 3.8+ and Django 3.2 to 5.0. Using TinyMCE 6.8.4.

Jazzband GitHub Actions Code coverage

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 = [
    ...
    path('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

https://django-tinymce.readthedocs.org/

Support and updates

Use github issues https://github.com/jazzband/django-tinymce/issues

License

Originally written by Joost Cassee.

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