Skip to main content

A django-cms plugin that displays text and uses the [Redactor](http://imperavi.com/redactor) editor for editing.

Note that Redactor requires a license, therefore it is not included in this repository.

Installation

To get the latest stable release from PyPi

pip install djangocms-text-redactor

To get the latest commit from GitHub

pip install -e git+git://github.com/bitmazk/djangocms-text-redactor.git#egg=djangocms_text_redactor

Add djangocms_text_redactor to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'djangocms_text_redactor',
)

Add the app’s URLs to your urls.py

urlpatterns += patterns(
    '',
    url(r'^djangocms-text-redactor/', include('djangocms_text_redactor.urls')),
    ...
)

Don’t forget to migrate your database

./manage.py migrate djangocms_text_redactor

Make sure that you include the redactor CSS and JS files in the CMS template that should contain the Redactor plugin.

Make sure to set the settings DJANGOCMS_TEXT_REDACTOR_IMAGE_UPLOAD_URL and DJANGOCMS_TEXT_REDACTOR_IMAGE_GET_JSON_URL to the url names of the two views that handle this (see Redactor documentation).

Usage

Add the Redactor plugin to one of your placeholders. It will have some sane default settings. You can leave the settings for toolbarExternal, imageUpload and imageGetJson as they are because they will be set according to your settings.

Contribute

If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 djangocms-text-redactor
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

Metadata

Release files for djangocms-text-redactor 0.1.1

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

Source distribution (sdist)

Source distribution for djangocms-text-redactor 0.1.1
File Size Uploaded Provenance Actions
djangocms-text-redactor-0.1.1.tar.gz 10.4 kB Without provenance Details for djangocms-text-redactor-0.1.1.tar.gz

Release files / djangocms-text-redactor-0.1.1.tar.gz

Download URL djangocms-text-redactor-0.1.1.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
df338fc8b6078d63f3109b8e0f7d5d3ac37db12a758fb2968c3079c92600ee2d
BLAKE2b-256 checksum
How to use checksums
fa5559bf86a0bd29b50d9391cae0ab194d53306585e9b74da6bf15a1b24bc381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for djangocms-text-redactor 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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