Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
django_tinymce.egg-info/ | H | 03-May-2022 | - | 299 | 189 | |
docs/ | H | 25-Nov-2021 | - | 475 | 347 | |
tests/ | H | 25-Nov-2021 | - | 663 | 528 | |
tinymce/ | H | 25-Nov-2021 | - | 3,705 | 3,554 | |
CHANGELOG.rst | H A D | 25-Nov-2021 | 3.4 KiB | 177 | 106 | |
CONTRIBUTING.rst | H A D | 25-Nov-2021 | 338 | 6 | 4 | |
CONTRIBUTORS.rst | H A D | 25-Nov-2021 | 1.4 KiB | 40 | 38 | |
MANIFEST.in | H A D | 25-Nov-2021 | 122 | 6 | 5 | |
PKG-INFO | H A D | 25-Nov-2021 | 6.7 KiB | 299 | 189 | |
README.rst | H A D | 25-Nov-2021 | 2.2 KiB | 93 | 58 | |
pyproject.toml | H A D | 25-Nov-2021 | 591 | 29 | 26 | |
runtests.py | H A D | 25-Nov-2021 | 1.5 KiB | 50 | 43 | |
setup.cfg | H A D | 25-Nov-2021 | 74 | 8 | 5 | |
setup.py | H A D | 03-May-2022 | 1.7 KiB | 55 | 45 |
README.rst
1django-tinymce 2============== 3 4**django-tinymce** is a Django application that contains a widget to render a form field as a TinyMCE editor. 5 6.. image:: https://jazzband.co/static/img/badge.svg 7 :target: https://jazzband.co/ 8 :alt: Jazzband 9 10.. image:: https://img.shields.io/pypi/v/django-tinymce.svg 11 :target: https://pypi.python.org/pypi/django-tinymce 12 13.. image:: https://img.shields.io/pypi/pyversions/django-tinymce.svg 14 :target: https://pypi.python.org/pypi/django-tinymce 15 16.. image:: https://img.shields.io/pypi/dm/django-tinymce.svg 17 :target: https://pypi.python.org/pypi/django-tinymce 18 19.. image:: https://github.com/jazzband/django-tinymce/workflows/Test/badge.svg 20 :target: https://github.com/jazzband/django-tinymce/actions 21 :alt: GitHub Actions 22 23.. image:: https://codecov.io/gh/jazzband/django-tinymce/branch/master/graph/badge.svg 24 :target: https://codecov.io/gh/jazzband/django-tinymce 25 :alt: Code coverage 26 27 28Quickstart 29========== 30 31Install django-tinymce: 32 33.. code-block:: bash 34 35 $ pip install django-tinymce 36 37Add tinymce to INSTALLED_APPS in settings.py for your project: 38 39.. code-block:: python 40 41 INSTALLED_APPS = ( 42 ... 43 'tinymce', 44 ) 45 46Add tinymce.urls to urls.py for your project: 47 48.. code-block:: python 49 50 urlpatterns = [ 51 ... 52 path('tinymce/', include('tinymce.urls')), 53 ] 54 55In your code: 56 57.. code-block:: python 58 59 from django.db import models 60 from tinymce.models import HTMLField 61 62 class MyModel(models.Model): 63 ... 64 content = HTMLField() 65 66**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. 67 68Releases 69======== 70 71Latest release is 3.4.0. It supports Python 3.6+ and Django 2.2 to 3.2. 72 73Using TinyMCE 5.10.1. 74 75Previous releases can be found on github, but they are no longer maintained. 76 77Documentation 78============= 79 80http://django-tinymce.readthedocs.org/ 81 82Support and updates 83=================== 84 85Use github issues https://github.com/jazzband/django-tinymce/issues 86 87License 88======= 89 90Originally written by Joost Cassee. 91 92This program is licensed under the MIT License (see LICENSE.txt) 93