Metadata-Version: 2.1
Name: ax3-redactor
Version: 1.0.13
Summary: A Django app to add support for redactor
Home-page: https://github.com/Axiacore/ax3-redactor
Author: Axiacore
Author-email: info@axiacore.com
License: UNKNOWN
Description: # 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',
            ]
        ```
        
        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
            vendor/redactor/plugins/widget.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.
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
