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
  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.0.10.tar.gz (3.9 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.0.10-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ax3-redactor-1.0.10.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.5

File hashes

Hashes for ax3-redactor-1.0.10.tar.gz
Algorithm Hash digest
SHA256 ffb35b69a162b728e7c9a84de3216e97344ef178155b9d8f6f3bb3cb6df72a8c
MD5 f4a1be1d3dbecb20e2c9f4fb83fb91ad
BLAKE2b-256 bf1f0e023ca45180fc556ca0d8fdd7272e40ed66496b5aeea37588d8d59df60c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ax3_redactor-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.5

File hashes

Hashes for ax3_redactor-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fbed87dd51f886dc3050f7e6105da6ee662e17d01e93be054f0363e578797ca5
MD5 752ef7dc49860e1bb8b9dd35644e855b
BLAKE2b-256 d921dde179182fed3609262138e676148503d14bad110c11ce3bc7591c729cee

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