![]() ![]() Sphinx docs brew install sphinx-doc # macOS Local cd docsĭocker-compose up (in local) docker-compose -f docker-compose-local. PyPI Release poetry install # Install PyPI distribution packages You can join our Slack Group for discussion. Check out our Youtube Playlist or Code Introduction to take a detailed walkthrough of the code base. This library is a WYSIWYG editor built for the modern mobile platform, with web compatibility under development. The code lives on GitHub Distribution tips (for owners) Installation # black FlutterQuill is a rich text editor and a Quill component for Flutter. ContributingĪs an open source project, we welcome contributions. # Go to the playground package cd playgroundĪfter the above operation, the live demo site works at localhost:8000. Git clone Go to the project directory and apply the virtual environment cd django-quill-editor # We recommend that you start after creating a folder for your project. The live demo is a deployment of the "playground" package, which is a django application within this library.Īfter cloning or downloading the repository, you can try running the live demo locally.Ī Python virtual environment is required to run the project. register ( QuillPost ) class QuillPostAdmin ( admin. Just register the Model in admin.py of the app. ![]() Model ): content = QuillField () Using in admin # models.py from django.db import models from django_quill.fields import QuillField class QuillPost ( models. After adding the app, you need to run makemigrations and migrate to create the DB table.App containing models.py must be added to INSTALLED_APPS.pip install django-quill-editorĪdd django_quill to INSTALLED_APPS in settings.py # settings.py INSTALLED_APPS = Īdd QuillField to the Model class you want to use. Requires Python 3.7 or higher and Django 3.1 or higher. Install django-quill-editor to your Python environment Please refer to the QuickStart section below for simple usage. The full document is in, including everything about how to use the Form or ModelForm, and where you can add custom settings. It can be used in both admin and Django views.The entire code for inserting WYSIWYG editor is less than 30 lines.No configuration required for static files!.Django-quill-editor makes Quill.js easy to use on Django Forms and admin sites ![]()
0 Comments
Leave a Reply. |