Skip to main content

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.3.

Jazzband https://img.shields.io/pypi/v/django-tinymce.svg https://img.shields.io/pypi/pyversions/django-tinymce.svg https://img.shields.io/pypi/djversions/django-tinymce.svg https://img.shields.io/pypi/dm/django-tinymce.svg 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-tinymce-4.0.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

django_tinymce-4.0.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file django-tinymce-4.0.0.tar.gz.

File metadata

  • Download URL: django-tinymce-4.0.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

Hashes for django-tinymce-4.0.0.tar.gz
Algorithm Hash digest
SHA256 13a63c81c5bb3683d135f5b1ec4c7da68bc880cf5138ffb266b608914ba12236
MD5 09c547e41ef0f0114de248dcd477ab63
BLAKE2b-256 228266f508d69807991136fe8b856c4b44f4781806a688f19ae293ccad25456b

See more details on using hashes here.

File details

Details for the file django_tinymce-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: django_tinymce-4.0.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

Hashes for django_tinymce-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b495dca8a6d36831ffd256e930e0919361468862eb7e5ff26f9631bc42061e0
MD5 243837b90b8dd2c4721936a0a972f561
BLAKE2b-256 dc4807b07c9c318e0b7f1f4207e393d0a5514b5914a4b893299dee0b8c95b272

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page