Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Allows pluggable WYSIWYG editors in django admin without hard dependencies

Project Description


Allows pluggable WYSIWYG editors in django admin without hard dependencies.

Currently supported editors (both optional):


  1. Install with pip:

    pip install django-editor
  2. (optional) Add imperavi or tinymce to your INSTALLED_APPS in

        # Imperavi (or tinymce) rich text editor is optional


editor package gives you the following replacement classes:

  • django.forms.widgets.Textarea => editor.EditorWidget (becomes ImperaviWidget or TinyMCE)
  • django.contrib.admin.ModelAdmin => editor.EditorAdmin (becomes ImperaviAdmin or stays as ModelAdmin)
  • django.contrib.admin.StackedInline => editor.EditorStackedInline (becomes ImperaviStackedInline or stays as StackedInline)

Here are some examples on how to easily turn your Textareas into WYSIWYG editors:

from django.db import models
from django.contrib import admin
from editor.admin import EditorAdmin, EditorWidget, EditorStackedInline

class MyInlineAdmin(EditorStackedInline): # StackedInline example
    model = Model1

class MyModel2Admin(EditorAdmin): # ModelAdmin example
    inlines = [MyInlineAdmin], MyModel2Admin)

class MyModel3Admin(admin.ModelAdmin):
    formfield_overrides = {
        models.TextField: {'widget': EditorWidget},
    }, MyModel3Admin)




Release date: UNRELEASED

  • Working on more editors. Stay tuned…


Release date: 19-Mar-2013

  • Initial release
  • Supports django-imperavi and django-tinycme
  • 3 admin classes: EditorAdmin, EditorWidget, EditorStackedInline
  • Test coverage

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.2 kB) Copy SHA256 Hash SHA256
Source None Mar 19, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting