资源简介

django富文本使用简明教程(基于百度Ueditor编辑器,windows平台) 可以提取富文本文字和图片 python 3.6,django==1.11.14 实现过程可以参考教程 https://mp.csdn.net/postedit/88389535

资源截图

代码片段和文件信息

#!/usr/bin/env python
import os
import sys

if __name__ == “__main__“:
    os.environ.setdefault(“DJANGO_SETTINGS_MODULE“ “ueditorDemo.settings“)
    try:
        from django.core.management import execute_from_command_line
    except ImportError:
        # The above import may fail for some other reason. Ensure that the
        # issue is really that Django is missing to avoid masking other
        # exceptions on Python 2.
        try:
            import django
        except ImportError:
            raise ImportError(
                “Couldn‘t import Django. Are you sure it‘s installed and “
                “available on your PYTHONPATH environment variable? Did you “
                “forget to activate a virtual environment?“
            )
        raise
    execute_from_command_line(sys.argv)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        222  2019-03-11 11:37  ueditorDemo\app\admin.py

     文件         86  2019-03-11 10:44  ueditorDemo\app\apps.py

     文件        867  2019-03-11 11:37  ueditorDemo\app\migrations\0001_initial.py

     文件          0  2019-03-11 10:44  ueditorDemo\app\migrations\__init__.py

     文件        887  2019-03-11 11:38  ueditorDemo\app\migrations\__pycache__\0001_initial.cpython-36.pyc

     文件        143  2019-03-11 10:59  ueditorDemo\app\migrations\__pycache__\__init__.cpython-36.pyc

     文件        422  2019-03-11 11:54  ueditorDemo\app\models.py

     文件        456  2019-03-12 12:49  ueditorDemo\app\templates\index.html

     文件         63  2019-03-11 10:44  ueditorDemo\app\tests.py

     文件        500  2019-03-12 12:45  ueditorDemo\app\views.py

     文件          0  2019-03-11 10:44  ueditorDemo\app\__init__.py

     文件        459  2019-03-11 11:37  ueditorDemo\app\__pycache__\admin.cpython-36.pyc

     文件        789  2019-03-11 11:54  ueditorDemo\app\__pycache__\models.cpython-36.pyc

     文件        571  2019-03-12 12:45  ueditorDemo\app\__pycache__\views.cpython-36.pyc

     文件        132  2019-03-11 10:59  ueditorDemo\app\__pycache__\__init__.cpython-36.pyc

     文件     143360  2019-03-12 12:35  ueditorDemo\db.sqlite3

     文件       1362  2016-12-13 09:53  ueditorDemo\DjangoUeditor\adminx.py

     文件       5818  2016-12-13 09:53  ueditorDemo\DjangoUeditor\commands.py

     文件       1552  2016-12-13 09:53  ueditorDemo\DjangoUeditor\forms.py

     文件       1765  2016-12-13 09:53  ueditorDemo\DjangoUeditor\models.py

     文件       7235  2016-12-13 09:53  ueditorDemo\DjangoUeditor\readme.txt

     文件       6158  2016-12-13 09:53  ueditorDemo\DjangoUeditor\settings.py

     文件       1588  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\anchor\anchor.html

     文件      15063  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\attachment.css

     文件       2311  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\attachment.html

     文件      30055  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\attachment.js

     文件        923  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\fileTypeImages\icon_chm.gif

     文件        841  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\fileTypeImages\icon_default.png

     文件       1012  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\fileTypeImages\icon_doc.gif

     文件        949  2016-12-13 09:53  ueditorDemo\DjangoUeditor\static\ueditor\dialogs\attachment\fileTypeImages\icon_exe.gif

............此处省略412个文件信息

评论

共有 条评论