Skip to main content

Ace editor for Django

What’s that

djace_editor is a reusable application for Django, using Ace editor

Forked on Bradley Ayers.

Dependence

  • Django >= 1.9

Getting started

  • Install djace_editor:

`pip install djace_editor`

  • Add ‘djace_editor’ to INSTALLED_APPS.

Using in model

from django.db import models
from djace_editor import AceField

class Entry(models.Model):
    title = models.CharField(max_length=250, verbose_name=u'Title')
    text = AceField(verbose_name=u'Text')

or use custom parametrs:

text = AceField(
    verbose_name=u'Text',
    theme="terminal",
    width="800px",
    height="500px"
)

Using for only admin interface

from django import forms
from djace_editor import AceWidget
from blog.models import Entry

class EntryAdminForm(forms.ModelForm):
    class Meta:
        model = Entry
        widgets = {
           'short_text': AceWidget(),
        }

class EntryAdmin(admin.ModelAdmin):
    form = EntryAdminForm

AceWidget takes the same parameters as AceField.

Contributing

  1. Fork it!

  2. Create your feature branch: git checkout -b my-new-feature

  3. Commit your changes: git commit -am ‘Add some feature’

  4. Push to the branch: git push origin my-new-feature

  5. Submit a pull request =]

Metadata

Release files for djace-editor 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djace-editor 1.0.0
File Size Uploaded Provenance Actions
djace_editor-1.0.0.tar.gz 1.9 MB Without provenance Details for djace_editor-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for djace-editor 1.0.0
File Interpreter ABI Platform Actions
djace_editor-1.0.0-py3-none-any.whl Python 3 none any Details for djace_editor-1.0.0-py3-none-any.whl

Total release size: 4.1 MB

Release files / djace_editor-1.0.0.tar.gz

Download URL djace_editor-1.0.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
92c26539c34db90f49913584feb0ee5a0a8e7dad2de96e2e58c9b2fa5565203c
BLAKE2b-256 checksum
How to use checksums
73631f29a3f65ffb23a798f85553c5cae89ab65da07e26b76d284300b8f1f12e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release files / djace_editor-1.0.0-py3-none-any.whl

Download URL djace_editor-1.0.0-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3490cee5234517baa98bcdaf62d372d2d6240cefb1c94998107da11bf809101d
BLAKE2b-256 checksum
How to use checksums
22fd62c149fe0dff0bfde8bed9f30fae139afad89506f228c2a97f0ceb27bd64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Security for djace-editor 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page