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.

Release files for ax3-redactor 3.0.2

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

Source distribution (sdist)

Source distribution for ax3-redactor 3.0.2
File Size Uploaded
ax3_redactor-3.0.2.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ax3-redactor 3.0.2
File Interpreter ABI Platform
ax3_redactor-3.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / ax3_redactor-3.0.2.tar.gz

Download URL ax3_redactor-3.0.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc49027d4e458ca632e58fc0775965c8ed330bcf7cef872247ee0fa608f70d07
BLAKE2b-256 checksum
How to use checksums
ebc1bc47bb146898d2b58eaaddb1fce7fc0ffea1bd745a345bbc026facfabdcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / ax3_redactor-3.0.2-py3-none-any.whl

Download URL ax3_redactor-3.0.2-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d21b2577da91f1084345b4890f8a10bfae8aaea5766eeb55a0c85516caf1cba
BLAKE2b-256 checksum
How to use checksums
8db9451b84dbab3bb2f42a65b0f02a533e035c9b10ecd4eb34d02bf9d4123d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

1 release file

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

2 release files

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