Skip to main content

AX3 Redactor

This app is part of the AX3 technology developed by Axiacore.

It allows you to use Redactor within the Django admin interface.

Quick Start

  1. Add "redactor" to your INSTALLED_APPS setting as follows:
INSTALLED_APPS = [
    ...
    'redactor',
]
  1. Include the Redactor URL configuration in your project's urls.py:
path('', include('redactor.urls')),
  1. Run python manage.py migrate to create the Redactor models.

  2. Copy your Redactor library files into the static folder in your project:

vendor/redactor/redactor.min.css
vendor/redactor/redactor.min.js
vendor/redactor/plugins/imagemanager.min.js
vendor/redactor/plugins/video.min.js
vendor/redactor/plugins/widget.min.js
  1. Add Redactor support to your model in admin.py:
from django.contrib import admin
from redactor.mixins import RedactorMixin
from .models import Post

@admin.register(Post)
class PostAdmin(RedactorMixin, admin.ModelAdmin):
    ...
    redactor_fields = ['content']
    ...

content is a TextField attribute in the Post model. You can specify multiple fields if needed.

Releasing a New Version

Make sure you have an API token for PyPI: https://pypi.org/help/#apitoken

Increase the version number at pyproject.toml and create a Git tag:

uv run python -m build
uv run python -m twine upload dist/*

Built at axiacore.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ax3_redactor-3.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ax3_redactor-3.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file ax3_redactor-3.0.1.tar.gz.

File metadata

  • Download URL: ax3_redactor-3.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for ax3_redactor-3.0.1.tar.gz
Algorithm Hash digest
SHA256 610ca798121c4dba93db184eb8f70b84020f4a39fd9775d7f88021097312c3e5
MD5 913dfb640de5f2c145c66522a4441348
BLAKE2b-256 1f8e9358df72ace1b3b5463a7d49e7deeee7d3a28ad419823b8d33b242664792

See more details on using hashes here.

File details

Details for the file ax3_redactor-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: ax3_redactor-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for ax3_redactor-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f51d61fc0954be68b6dfe5dab1eed925d714d17be8cbe55cff5282135754dbe8
MD5 b686b2b98816a89d136b55b5b4440e7b
BLAKE2b-256 f46f150c833473695ed17c45bd67c8af2755a07d2da28df225383f099afe22b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page