# DjangoAsyncAdmin **Repository Path**: sadam98/DjangoAsyncAdmin ## Basic Information - **Project Name**: DjangoAsyncAdmin - **Description**: Django 新的动态Admin , 具有异步请求, 异步列表页刷新和加载, UI更加美观. 基于vue2+ElementUI2.X来对传统的DjangoAdmin进行重写. 非常易于使用, 便于快速搭建高性能后台管理. - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-10-19 - **Last Updated**: 2024-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: Django, djangoAdmin, admin, simpleui, simplepro ## README # DjangoAsyncAdmin Django 新的动态Admin , 具有异步请求, 异步列表页刷新和加载, UI更加美观. 基于vue2+ElementUI2.X来对传统的DjangoAdmin进行重写. 非常易于使用, 便于快速搭建高性能后台管理. 基于[`SimplePro:6.5.2`](https://github.com/newpanjing/simplepro) 的二开项目, 明文代码,免授权,免激活。 [![](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Haoke98/DjangoAsyncAdmin) [![Gitee](https://img.shields.io/badge/Gitee-C71D23?style=for-the-badge&logo=gitee&logoColor=white)](https://gitee.com/sadam98/DjangoAsyncAdmin) ![](https://img.shields.io/badge/Django-092E20?style=for-the-badge&logo=django&logoColor=white) ![](https://img.shields.io/badge/Vue.js-35495E?style=for-the-badge&logo=vue.js&logoColor=4FC08D) ![](https://img.shields.io/badge/Google_chrome-4285F4?style=for-the-badge&logo=Google-chrome&logoColor=white) ![](https://img.shields.io/github/followers/Haoke98.svg?style=social&label=Follow&maxAge=2592000) ![](https://img.shields.io/github/license/Haoke98/DjangoAsyncAdmin.svg) ![](https://img.shields.io/github/downloads/Haoke98/DjangoAsyncAdmin/total.svg) ![](https://img.shields.io/github/forks/Haoke98/DjangoAsyncAdmin.svg) ![](https://img.shields.io/github/stars/Haoke98/DjangoAsyncAdmin.svg) ![](https://img.shields.io/github/watchers/Haoke98/DjangoAsyncAdmin.svg) ![GitHub language count](https://img.shields.io/github/languages/count/Haoke98/DjangoAsyncAdmin) ![GitHub search hit counter](https://img.shields.io/github/search/Haoke98/DjangoAsyncAdmin/django) ![GitHub top language](https://img.shields.io/github/languages/top/Haoke98/DjangoAsyncAdmin) ![GitHub contributors](https://img.shields.io/github/contributors/Haoke98/DjangoAsyncAdmin) ![](http://ForTheBadge.com/images/badges/made-with-python.svg) [![forthebadge](https://haoke98.github.io/DjangoAsyncAdmin/static/MADE%20WITH-JetBrains-PyCharm.svg)](https://forthebadge.com) ## 灵感来历 * thinkPHP * simpleUI * simplePro ## Demo * [数字化世界](https://github.com/Haoke98/AllKeeper) ![](https://haoke98.github.io/DjangoAsyncAdmin/static/digital_world_banner.png) * [AI实验室](#) ![](https://haoke98.github.io/DjangoAsyncAdmin/static/silk_road_ai_banner.png) ## 功能
功能次项子项状态
列表优化前后端分离加载数据·········
可视化首页设计··················
众多符合国人的主题皮肤设计··················
丰富的组件库几乎全部element-ui组件的集成·········
种类丰的富编辑器富文本编辑器
Markdown编辑器
Json编辑器
媒体组件 图片上传组件
视频播放组件
高级组件地图组件
密码输入组件
支持自定义自定义按钮·········
自定义菜单·········
自定义权限·········
自定义对话框·········
···························
权限优化··················
## 使用方法 ### 基础 * 组件文档 [DjangoAsyncAdmin Components Docs](https://haoke98.github.io/DjangoAsyncAdmin/components.html) * 打包及发布文档 [Package And Deploy](https://haoke98.github.io/DjangoAsyncAdmin/build.html) * 安装配置 [临时参考](https://www.mldoo.com/docs/simplepro/guide/project_config.html) ### 进阶配置 * 全局配置 [临时参考](https://www.mldoo.com/docs/simplepro/config/global/) * Admin配置 [临时参考](https://www.mldoo.com/docs/simplepro/config/admin/field.html) * 主题配置 [临时参考](https://www.mldoo.com/docs/simplepro/config/theme.html) * JS-SDK [临时参考](https://www.mldoo.com/docs/simplepro/config/jssdk.html) * 自定义权限 [临时参考](https://www.mldoo.com/docs/simplepro/config/permissions.html) * 可视化图标 [临时参考](https://www.mldoo.com/docs/simplepro/config/chat.html) * 富文本插件 [临时参考](https://www.mldoo.com/docs/simplepro/config/editor.html) ### 常见问题 * 静态文件 [临时参考](https://www.mldoo.com/docs/simplepro/faq/static.html) * 安装问题 [临时参考](https://www.mldoo.com/docs/simplepro/faq/install.html) * 安装问题 [临时参考](https://www.mldoo.com/docs/simplepro/faq/install.html) ### 安装 #### pip安装 ```shell pip install DjangoAsyncAdmin ``` >如果您安装比较慢,可以使用中科大提供的镜像进行加速 ```shell pip install DjangoAsyncAdmin -i https://pypi.mirrors.ustc.edu.cn/simple/ ``` #### 源码安装 ##### 1.克隆项目到本地 ```shell git clone https://github.com/Haoke98/DjangoAsyncAdmin.git ``` ##### 2.生成安装包 进入到项目跟目录 ```shell python setup.py sdist bdist_wheel ``` ##### 3.安装 ```shell pip install /path/to/your_project/dist/DjangoAsyncAdmin-6.5.4.tar.gz ``` 注意:⚠️ 其中`/path/to/your_project`转成你的项目路径(相对路径/绝对路径) ## 目录结构说明 | 目录 | 备注 | |-----------------|----------| | bawa | | components |组件,存放模型字段和表单字段 | editor |编辑器,MD编辑器,UE富文本编辑器,JSON编辑器等等 | group | | locale |多种语言包目录,明文和二进制文件不需要处理 | management | | monitor | | static |静态资源目录,不需要处理 | templates |模版目录,不需要处理 | templatetags | | \_\_init\_\_.py | | action.py | | apps.py | | apps.py | | conf.py | | conf.py | | core.so | 转化后保存到core.py中 | decorators.py | | dialog.py | | filters.py | | forms.py | | hanlers.py | 去掉了加载core.so文件的部分,增加了 `from core.py import *` | middlewares.py | | models.py | 基本模型文件 | urls.py | | utils.py | ## 新增功能日志 版本说明: > 标准的版本号必须(MUST)采用 X.Y.Z 的格式,其中 X、Y 和 Z 为非负的整数,且禁止(MUST NOT)在数字前方补零。X 是主版本号、Y 是次版本号、而 Z 为修订号。每个元素必须(MUST)以数值来递增。例如:1.9.1 -> 1.10.0 -> 1.11.0。 > > 修订号 Z(x.y.Z | x > 0)必须(MUST)在只做了向下兼容的修正时才递增。这里的修正指的是针对不正确结果而进行的内部修改。 > > 次版本号 Y(x.Y.z | x > 0)必须(MUST)在有向下兼容的新功能出现时递增。在任何公共 API 的功能被标记为弃用时也必须(MUST)递增。也可以(MAY)在内部程序有大量新功能或改进被加入时递增,其中可以(MAY)包括修订级别的改变。每当次版本号递增时,修订号必须(MUST)归零。
版本说明
6.9.0 实现了密码组件(PasswordInputField).
6.8.0 实现了Json编辑器(JsonTextField).
6.7.0 增加了基本类BaseModel和BaseModelWithShowRate,减少开发过程中反复进行一些基本字段和属性的设计, 提高设计模型的效率.
6.6.0 去掉了授权和激活状态的验证机制,从比可免授权免激活,免费使用。
6.5.4 升级并优化了后台管理登录页面中的标题和LOGO的展示.
6.5.3 实现了列表页中的列表表头和表格底部的合计栏不动,表格bodyscroll的效果.
## 开源许可证 本仓库的代码依照 Apache-2.0 协议开源。本项目对学术研究完全开放,也可申请免费的商业使用授权。申请授权,合作和其他问题请联系 <1903243975@qq.com>。 ## 引用 ``` @misc{2023DjangoAsyncAdmin, title={DjangoAsyncAdmin}, author={Sadam·Sadik}, howpublished = {\url{https://github.com/Haoke98/DjangoAsyncAdmin}}, year={2023} } ``` ## 联系我们 * QQ讨论群:940505194 * QQ邮箱:1903249375@qq.com ## 鸣谢 & 引用 Thanks to [newpanjing](https://github.com/newpanjing/simpleui) for simpleui Thanks to [newpanjing](https://github.com/newpanjing/simplepro) for simplepro