django-tinymce-lite
django-tinymce-lite is a Django application that contains a widget to render a form field as a TinyMCE editor. This package provides same namespace as django-tinymce, but grabs latest stable tinymce static files from CDN.
Quickstart
Install django-tinymce-lite:
$ pip install django-tinymce-lite
Add tinymce to INSTALLED_APPS in settings.py for your project:
INSTALLED_APPS = (
...
'tinymce',
)
In your code:
from django import forms
from tinymce.widgets import TinyMCE
from .models import FooBar
class FooBarModelForm(forms.ModelForm):
class Meta:
model = FooBar
fields = ['content1']
widgets = {
'content1': TinyMCE
}
Configuration
django-tinymce-lite is configured through django settings mechanism. Following options are availiable:
# Url to tinymce init js
TINYMCE_JS = '//cdn.tinymce.com/4/tinymce.min.js'
# If you need pass extra static files for all tinymce widget
TINYMCE_EXTRA_MEDIA = {
'js': [],
'css': {}
}
# Config, that passed to tinyMCE.init functions
TINYMCE_CONFIG = {
'selector': '.django-tinymce',
'theme': 'modern',
'relative_urls': False,
}
For tinymce configuration, read more on site.
Releases
Latest release is 1.0.0. It’s support python 2.7, 3.4, 3.5, 3.6 and Django >= 1.7.
Support and updates
Use github issues https://github.com/vanadium23/django-tinymce-lite/issues
License
Originally written by Aljosa Mohorovic.
Much inspired by django-select2.
This program is licensed under the MIT License (see LICENSE)
Metadata
Release files for django-tinymce-lite 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-tinymce-lite-0.0.2.tar.gz | 6.4 kB | Without provenance | Details for django-tinymce-lite-0.0.2.tar.gz |
Release files / django-tinymce-lite-0.0.2.tar.gz
| Download URL | django-tinymce-lite-0.0.2.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a24c3c9b0efbb537115db61413280c367a05ce82ef6aaa3992289feff38f4466
|
|
BLAKE2b-256 checksum How to use checksums |
a72426bbdd5614426ee59ab49c46d5b3289586e514592852107705aff3df56f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-tinymce-lite 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.