Skip to main content

Qitian Inc. Django UEditor plugins. For quick use in Django Admin Panel

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-ueditor, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_ueditor-1.0.2-py3-none-any.whl (12.4 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-ueditor-1.0.2.tar.gz (12.2 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page