File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,21 @@ django-low-code 低代码演示, 项目 https://github.com/py2010/django-generic
9
9
1. 通用视图模板
10
10
2. 列表页分页/查询/SQL优化
11
11
3. 虚拟关联
12
+ 4. 可使用自动路由, urls/views/templates全自动处理
12
13
13
14
* app:
14
15
15
16
apps/generic/ # django-views-templates项目APP
16
17
apps/a/ # 常规功能演示 (数据库: default)
17
- apps/mirror/ # a的镜像, 零代码演示
18
+ apps/mirror/ # 零代码演示, 全自动生成 http://127.0.0.1:808/mirror/各models页-增删改查/
18
19
apps/vr/ # 跨库外键/m2m演示 (数据库: vr)
19
20
20
21
21
22
* 环境:
22
23
23
- linux
24
- python3.6
25
- django2.2 (django 1.11可能也支持 )
24
+ linux (目录c中的脚本为.sh, 如果是windows需手工runserver)
25
+ python3.6 (字段串基本是使用f'{var}')
26
+ django2.2 (django 1.11估计也支持, 没详细测试 )
26
27
27
28
* 部署:
28
29
@@ -44,11 +45,16 @@ django-low-code 低代码演示, 项目 https://github.com/py2010/django-generic
44
45
使用账号/密码都是"demo"进行登录
45
46
46
47
48
+ * 常规功能演示图
49
+ ![ a] ( a.png " 常规 ")
50
+
51
+
47
52
* 跨库关联 - 演示图
48
53
![ vr] ( vr.png " 跨库 ")
49
54
50
55
51
56
* 其它的大家自己研究.
52
- 所有演示功能对应的处理程序都在 apps/generic/ 目录,
53
- 其它文件夹是从私人项目中复制的, 所以有很多没用的文件, 懒得整理了.
57
+
58
+ 所有演示功能对应的主体程序都在 apps/generic/ 目录,
59
+ 项目中有很多文件夹是从以前其它项目中复制的, 所以有很多没用的文件懒得整理了, 多出的文件不影响演示.
54
60
You can’t perform that action at this time.
0 commit comments