This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Ace editor for Django admin

Project Description
# django-ace-overlay
This is an implementation of the Ace Editor for Django, which uses an overlay to edit code instead of editing it directly. This is particularly useful when you are using a code editor in conjunction with inlines -- which gives you a scrolling window inside a scrolling window, enough to drive a person insane.

![CKEditor Dialog](https://raw.github.com/ninapavlich/django-ace-overlay/master/docs/screenshots/overlay.png)

By default, all code is visible in the admin as read-only text. Clicking the text opens the editor overlay.
![CKEditor Dialog](https://raw.github.com/ninapavlich/django-ace-overlay/master/docs/screenshots/readonly.png)


## Example Usage
```
$ pip install django-ace-overlay
```

```
#settings.py

INSTALLED_APPS = (
...
ace_overlay,
...
)
```


```python

#forms.py

from django import forms
from ace_overlay.widgets import AceOverlayWidget
from .models import Template


class TemplateAdminForm(forms.ModelForm):

custom_template = forms.CharField(widget=AceOverlayWidget(mode='html', wordwrap=False, theme='twilight', width="850px", height="800px", showprintmargin=True), required=False)

class Meta:
model = Template

```
Release History

Release History

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

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-ace-overlay-0.6.tar.gz (27.9 MB) Copy SHA256 Checksum SHA256 Source Feb 7, 2017

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