Skip to main content

A set of project independent reusable features.

Project description

The Django Aloha Editor is a WYSIWYG editor for all your Django powered websites By default it always uses the latest version of Aloha Editor


How it works

Django Aloha Editor checks the user permissons, wraps the content with an aloha editor <div> and saves the edited content with an AJAX call.


  1. pip install django-aloha-editor

  2. Add the following url to your project’s file:

    url(r'^__alohaeditor__/', include('aloha_editor.urls', namespace='aloha_editor')),

  3. Add aloha_editor to your INSTALLED_APPS setting so Django can find the template files and template tags associated with Aloha Editor.


from django.shortcuts import render_to_response
from books.models import Book

def book_detail(request, book_id):
        book = Book.objects.get(pk=book_id)
    except Book.DoesNotExist:
        raise Http404
    return render_to_response('book_detail.html', {'book': book})


{% load aloha_editor %}
  {% if user.is_authenticated %}
    {% include "aloha_editor/css.html" %}
    {% include "aloha_editor/js.html" %}
  {% endif %}
  <h1>{{ book.title }}</h1>
  {% aloha_editor book.description %}


You found a bug or have a suggestion for improvement, please let me know!


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-aloha-editor, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page