• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

django_tinymce.egg-info/H03-May-2022-299189

docs/H25-Nov-2021-475347

tests/H25-Nov-2021-663528

tinymce/H25-Nov-2021-3,7053,554

CHANGELOG.rstH A D25-Nov-20213.4 KiB177106

CONTRIBUTING.rstH A D25-Nov-2021338 64

CONTRIBUTORS.rstH A D25-Nov-20211.4 KiB4038

MANIFEST.inH A D25-Nov-2021122 65

PKG-INFOH A D25-Nov-20216.7 KiB299189

README.rstH A D25-Nov-20212.2 KiB9358

pyproject.tomlH A D25-Nov-2021591 2926

runtests.pyH A D25-Nov-20211.5 KiB5043

setup.cfgH A D25-Nov-202174 85

setup.pyH A D03-May-20221.7 KiB5545

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