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.5.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.5-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ax3-redactor-1.0.5.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.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5

File hashes

Hashes for ax3-redactor-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d863f33cc06fccee749755853e3fd5f632a44c4c6f662130a530755a159a351c
MD5 d99114242a8ccde44ac6aa4f0520db2e
BLAKE2b-256 8ce9ab8b169485fb56b570e114f07ed9a6b870bd6bb1aa308f0f50da099a7db6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ax3_redactor-1.0.5-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.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5

File hashes

Hashes for ax3_redactor-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ff78d63bf740abfdd693bf81884249f6910454c435d6b3eaf07caab0b4535d
MD5 ebf4741c3542935967251e6958d0e2eb
BLAKE2b-256 f816a2838067141d4d6205e0e23de4ef013681ada23e34ecb9d9acb011ae04b2

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