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
- Install or add django-ueditor to your environment.
pip install django-ueditor - add
ueditorto yourINSTALLED_APPSsetting. - add UEditor URL include to your project's
urls.pyfile: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.
Release files for django-ueditor 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-ueditor-1.0.2.tar.gz | 12.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_ueditor-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.6 MB
Release files / django-ueditor-1.0.2.tar.gz
| Download URL | django-ueditor-1.0.2.tar.gz |
|---|---|
| Size | 12.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b07697817820884873a3871edbe430b452e76b0b003d069e751aecfd0d4887ad
|
|
BLAKE2b-256 checksum How to use checksums |
4c50f6c1022654fad7abc40f8eb59d2f2245305b9e4218d4999aa1780ab37f72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.2
|
Release files / django_ueditor-1.0.2-py3-none-any.whl
| Download URL | django_ueditor-1.0.2-py3-none-any.whl |
|---|---|
| Size | 12.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
007e6258e593bde9df1fa738780c8b5631edb690f7ce9f03568209f8136ed86b
|
|
BLAKE2b-256 checksum How to use checksums |
817ba4c6487b7c4d4f8f292f41f1d41d68ba5fb526dbdc572fecbeef5fa3918e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.2
|