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!

A django application that contains a class for admin interface to render a text field as beautiful Imperavi WYSIWYG editor

Project Description


  1. Install or add django-imperavi to your python path.

  2. Add imperavi to your INSTALLED_APPS setting.

  3. Add imperavi URL include to your project’s file:

    url(r'^imperavi/', include('imperavi.urls')),


The quickest way to add rich text editing capabilities to your admin is to use the included ImperaviAdmin class. For example:

from models import Category
from imperavi.admin import ImperaviAdmin

class CategotyAdmin(ImperaviAdmin):
    pass, CategotyAdmin)

If you want to use it with inline admin models you need to use ImperaviStackedInlineAdmin class:

from models import Post
from imperavi.admin import ImperaviStackedInlineAdmin

class PostInline(ImperaviStackedInlineAdmin):
    model = Post
    extra = 1

Custom settings

Add a IMPERAVI_CUSTOM_SETTINGS variable to your with custom config:

    'lang': 'ua',
    'toolbar': 'mini',
    'resize': true

Full list of settings is here.

Media URL

You can also customize the URL that django-imperavi will look for the Editor media at by adding IMPERAVI_UPLOAD_PATH to your file like this:

IMPERAVI_UPLOAD_PATH = 'imperavi-uploads/'

The default value is 'imperavi/'.

Unique images per model

If you want to serve unique media content for specific model you can add unique_media = True to your admin class:

from models import Category
from imperavi.admin import ImperaviAdmin

class CategotyAdmin(ImperaviAdmin):
    unique_media = True, CategotyAdmin)
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-imperavi-0.2.3.tar.gz (98.0 kB) Copy SHA256 Checksum SHA256 Source Jul 1, 2012

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting