Skip to main content

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',
    ]
  2. Include the redactor URLconf in your project urls.py like this:

    path('', include('redactor.urls')),
  3. Run python manage.py migrate to create the redactor models.

  4. 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
  5. 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ax3_redactor-1.0.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ax3_redactor-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.0

File hashes

Hashes for ax3_redactor-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67f2d36b11d590929f5762585e13c995eb16ed46b361db136b4de532668c34e2
MD5 6eb27f35a41bfd34c8ccab909532c03f
BLAKE2b-256 9a1915eb0a187f71f3b8dbd7d6cf39524ec73e8b879b4a87e175f305b1c7f4a4

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