This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
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 http://aloha-editor.org/

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.

Installation

  1. pip install django-aloha-editor

  2. Add the following url to your project’s urls.py 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.

Example

views.py

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


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

book_detail.html

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

TODOs and BUGS

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

See: http://github.com/baskoopmans/django-aloha-editor/issues

Release History

Release History

1.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-aloha-editor-1.1.0.zip (11.7 kB) Copy SHA256 Checksum SHA256 Source Nov 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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