This app is part of the AX3 technology developed by Axiacore.
It will allow to use redactor inside the django admin interface.
Quick start
Add “redactor” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'redactor', ]Include the redactor URLconf in your project urls.py like this:
path('', include('redactor.urls')),Run python manage.py migrate to create the redactor models.
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f2d36b11d590929f5762585e13c995eb16ed46b361db136b4de532668c34e2
|
|
| MD5 |
6eb27f35a41bfd34c8ccab909532c03f
|
|
| BLAKE2b-256 |
9a1915eb0a187f71f3b8dbd7d6cf39524ec73e8b879b4a87e175f305b1c7f4a4
|