Skip to main content

Django integration for aloha HTML5 editor

Project description

Djaloha

What is djaloha good for?

Djaloha (django + aloha) is a wrapper around the Aloha Editor that enables inline editing for your HTML content. It includes a django Form and a Widget helper.

Quick start

In settings.py, add ‘djaloha’ (with an underscore) to the INSTALLED_APPS Under Django 1.3, the static folder should be found automatically, as the templates folder. In urls.py add (r'^djaloha/', include('djaloha.urls')) to your urlpatterns

Djaloha has a “provider” that allows you to add local links to your models (articles, contacts, whatever) easily, through an autocomplete field that will search for objects based on rules you defined for each model :

  • search this kind of models using get_absolute_url()
  • search this kind of models using another method
  • search this kind of models using a specified model field

You can set the DJALOHA_LINK_MODELS setting in your settings.py to tell which django models will be available in the auto-complete field of the “add link” widget like this

DJALOHA_LINK_MODELS = ('coop_local.Article','calendar.Event')

(to be continued)

License

Djaloha uses the same license as Django (BSD).

Djaloha development was funded by CREDIS, FSE (European Social Fund) and Conseil Regional d’Auvergne.

Project details


Release history Release notifications

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

This version
History Node

0.3.8

History Node

0.3.7

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

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
Djaloha-0.3.8.tar.gz (7.7 MB) Copy SHA256 hash SHA256 Source None Jun 27, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page