Skip to main content

Integrate Quill editor with Django project.

Project description



django-quill-editor makes Quill.js easy to use on Django Forms and admin sites

  • No configuration required for static files!
  • The entire code for inserting WYSIWYG editor is less than 30 lines
  • It can be used in both admin and Django views



The full document is in, including everything about how to use the Form or ModelForm, and where you can add custom settings.

Please refer to the QuickStart section below for simple usage.



  • Install django-quill-editor to your Python environment

    Requires Python 3.7 or higher and Django 3.1 or higher.

    pip install django-quill-editor
  • Add django_quill to INSTALLED_APPS in


Making Model

Add QuillField to the Model class you want to use.

  1. App containing must be added to INSTALLED_APPS
  2. After adding the app, you need to run makemigrations and migrate to create the DB table.
from django.db import models
from django_quill.fields import QuillField

class QuillPost(models.Model):
    content = QuillField()

Using in admin

Just register the Model in of the app.

from django.contrib import admin
from .models import QuillPost

class QuillPostAdmin(admin.ModelAdmin):



As an open source project, we welcome contributions. The code lives on GitHub

Distribution (for owners)

PyPI Release

poetry install  # Install PyPI distribution packages

Sphinx docs

brew install sphinx-doc  # macOS


cd docs
make html
# ...
# The HTML pages are in _build/html.

cd _build/html
python -m http.server 3001

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-quill-editor, version 0.1.22
Filename, size File type Python version Upload date Hashes
Filename, size django_quill_editor-0.1.22-py3-none-any.whl (18.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-quill-editor-0.1.22.tar.gz (13.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page