GithubHelp home page GithubHelp logo

milos-u / django-tinymce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jazzband/django-tinymce

0.0 0.0 0.0 9.37 MB

TinyMCE integration for Django

Home Page: http://django-tinymce.readthedocs.org/

License: MIT License

Shell 0.16% JavaScript 83.52% Python 16.22% HTML 0.09%

django-tinymce's Introduction

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.8+ and Django 3.2 to 5.0. Using TinyMCE 6.8.3.

Jazzband 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)

django-tinymce's People

Contributors

natim avatar claudep avatar aljosa avatar vanadium23 avatar pre-commit-ci[bot] avatar jasondavies avatar glassfordm avatar andre-silva-14 avatar hramezani avatar atodorov avatar milos-u avatar urtzai avatar jezdez avatar dwink avatar yychen avatar zuzelvp avatar pterk avatar pk-lms-dev avatar lsemel avatar ataylor32 avatar meako689 avatar smithdc1 avatar arhell avatar jessamynsmith avatar joelburton avatar jondbaker avatar knobix avatar mysterious-prophet avatar mattarchie avatar mireq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.