A Django application that contains a widget to render a
Project description
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.
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
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)
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
File details
Details for the file django_tinymce-4.1.0.tar.gz
.
File metadata
- Download URL: django_tinymce-4.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e3b70e940fd299f0fbef4315aee5c185664e1eb8cd396b176963954e4357c9 |
|
MD5 | 28d6d14fc86d7b5bfc1bb632fd85a032 |
|
BLAKE2b-256 | b33656faa2cb1bde28c66ffe38d67ddbacab9c416baecbb7dd911bfabc5fa409 |
File details
Details for the file django_tinymce-4.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_tinymce-4.1.0-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9804836e6d2b08de3b03a27c100f8c2e9633549913eff8b323678a10cd48b94e |
|
MD5 | 995a9e2d057950fdb1f3c68029103b34 |
|
BLAKE2b-256 | 91a6467464d08495360689380906db8e67427c381545ce8af9ce633e0128b004 |