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.9+ and Django 4.2 to 5.2. Using TinyMCE 7.8.0.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_tinymce-5.0.0.tar.gz.
File metadata
- Download URL: django_tinymce-5.0.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6257669ed596accf5fa967ff3061276b2c5352baac1bbc658fcd8252b12ca38a
|
|
| MD5 |
3ee8f3b13e35983798e6dff8657b7063
|
|
| BLAKE2b-256 |
0a71e9556c8bc1d99c0cb4081af0abc6440d7cf53c87b6c7da7b117f2de24881
|
File details
Details for the file django_tinymce-5.0.0-py3-none-any.whl.
File metadata
- Download URL: django_tinymce-5.0.0-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2e9c5efd2cc6c036f4c57e602b133180433e2bd1513b897089d3c4fb4e20579
|
|
| MD5 |
88a6d4a338692df7abe3645edcc4cf73
|
|
| BLAKE2b-256 |
2122b7b9299b40995b524bb2f6d61ae55bd690858630ff5e0ba9a06210313195
|