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.9+ and Django 4.2 to 5.2. Using TinyMCE 7.8.0.

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-5.0.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_tinymce-5.0.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

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

Hashes for django_tinymce-5.0.0.tar.gz
Algorithm Hash digest
SHA256 6257669ed596accf5fa967ff3061276b2c5352baac1bbc658fcd8252b12ca38a
MD5 3ee8f3b13e35983798e6dff8657b7063
BLAKE2b-256 0a71e9556c8bc1d99c0cb4081af0abc6440d7cf53c87b6c7da7b117f2de24881

See more details on using hashes here.

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

Hashes for django_tinymce-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2e9c5efd2cc6c036f4c57e602b133180433e2bd1513b897089d3c4fb4e20579
MD5 88a6d4a338692df7abe3645edcc4cf73
BLAKE2b-256 2122b7b9299b40995b524bb2f6d61ae55bd690858630ff5e0ba9a06210313195

See more details on using hashes here.

Supported by

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