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.

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.

Releases

Latest release is 3.7.0. It supports Python 3.8+ and Django 3.2 to 5.0.

Using TinyMCE 5.10.7.

Previous releases can be found on github, but they are no longer maintained.

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-3.7.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

django_tinymce-3.7.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-tinymce-3.7.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for django-tinymce-3.7.0.tar.gz
Algorithm Hash digest
SHA256 e18094a3a185f880ca514a255781c03641fee8d244a81f8d4ab59e96214cdd1d
MD5 0e3f590fada741caa963b4f2f66d1fc5
BLAKE2b-256 d560732106c197a0952ac3b563e42c1116482eaba442e11433d6e8be6f30fee5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_tinymce-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for django_tinymce-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b8663841288cff1e1a34bd100699d7f7c1fccbc1fd1cf12a99857f4b2554cb1
MD5 61183cb44fd2b684a6a40ae659da0ceb
BLAKE2b-256 b211cbaa3b5ae4898d37372ec841f506c6440bf838aba833daca4726a5b9d1c8

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