Metadata-Version: 2.1
Name: django-ueditor
Version: 1.0.2
Summary: Qitian Inc. Django UEditor plugins. For quick use in Django Admin Panel
Home-page: https://www.qitian.biz/
Author: Peter Han
Author-email: peter@qitian.com
License: MIT License
Keywords: django wysiwyg editor widget ueditor
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Requires-Python: >=3.6, !=3.0.*
Description-Content-Type: text/markdown
Requires-Dist: django (>=2.0)

# DJANGO UEditor Plugins
This project provide the ability for easy use UEditor in django admin and other pages in django.

Many code is from other project, such as: django-ckeditor and so on.

### Required
1. Install or add django-ueditor to your environment.
    ```
    pip install django-ueditor
    ```
2. add `ueditor` to your `INSTALLED_APPS` setting.
3. add UEditor URL include to your project's `urls.py` file:
    ```
    re_path(r'^ueditor/', include('ueditor.urls')),
    ```
### Usage

##### Field

The quickest way to add rich text editing capabilities to your models is to use the `UEditorField` model field type.
For example:
```
from django.db import models
from ueditor import UEditorField

class Post(models.Model):
    content = UEditorField('内容')
```

That's all you need to do, enjoy the plugins and feel free to contact me when you has any problem with it.


