摘要:
基于二级分发设计url路由 path('index/', views.index), path('index/', ([ path('test01/', test01), path('test02/', test02), ], None, None)), # 二级分发 path('index/', 阅读全文
posted @ 2019-12-17 10:45
XuMou
阅读(339)
评论(0)
推荐(0)
摘要:
执行自定义SQL语言: from django.db import connection cursor=connection.cursor() # 插入操作 cursor.execute("insert into hello_author(name) values('传说中的申小五')") 阅读全文
posted @ 2019-12-17 10:23
XuMou
阅读(1422)
评论(0)
推荐(1)

浙公网安备 33010602011771号