🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

django-ueditor

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-ueditor

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

1.0.2
PyPI
Maintainers
1

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 ueditor to your INSTALLED_APPS setting.
  • 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.

Keywords

django wysiwyg editor widget ueditor

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts