Skip to main content

AX3 Redactor

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

It will allow to use redactor inside the django admin interface.

Quick start

  1. Add "redactor" to your INSTALLED_APPS setting like this:
    INSTALLED_APPS = [
        ...
        'redactor',
    ]
  1. Include the redactor URLconf in your project urls.py like this:
    path('', include('redactor.urls')),
  1. Run python manage.py migrate to create the redactor models.

  2. Copy this redactor library files into a static folder in your proyect:

    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 to the admin.py the redactor support for a given model:
    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 at the Post model. You can use multiple fields.

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-1.1.0.tar.gz (4.6 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-1.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ax3-redactor-1.1.0.tar.gz.

File metadata

  • Download URL: ax3-redactor-1.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.10

File hashes

Hashes for ax3-redactor-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9dc3b3b6de3d8b925ee184eb758735bd67e58b514f9b5d1a16e188b1f42f76cd
MD5 8ee52983d39335683713319ff87b4805
BLAKE2b-256 c56e4abd0114688c408396d6ecdb1435a6b295cc84eee08164290f88651832f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ax3_redactor-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.10

File hashes

Hashes for ax3_redactor-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8538946c41b0a5008148724b8f47a20624a48a7a56a86d3ce2c098ecf8ba07c9
MD5 4b240b31cfb88090a834a5baa8ce23ab
BLAKE2b-256 01f7f765090ee13e6f40c7ec5bcbb7be794f9ade90a0d90eb26e01745ea4db8c

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 Pingdom Monitoring Sentry Error logging StatusPage Status page