- 博客(5)
- 收藏
- 关注
转载 Python基本语法
Python基本数据类型 Python数据类型 基本的数据类型 举例 数字类型(Numbers) 1, 3.14, 1.23e9, 1+2j, 字符串类型(String) 'abc', "abc" 布尔类型(Boolean) True, False 列表(List) [1, 2, 'abc'] 元组(T...
2018-09-06 11:02:00 71
转载 Django模型层
在Django引用其他数据库,比如mysql,需要如下配置: # settings.py import pymysql pymysql.install_as_MySQLdb() DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': ...
2018-09-03 09:14:00 56
转载 Django STATIC_URL
in dango , the "STATIC_URL" is to manage the url path of file if the file is not in "STATIC_URL", then when django runs, browser is not link to the file alough it may has correct url link to lo...
2018-08-04 10:47:00 94
转载 Django安全——CSRF 详解
参考文献: https://blog.csdn.net/stpeace/article/details/53512283 https://blog.csdn.net/gtLBTNq9mr3/article/details/78139431 https://blog.csdn.net/u012556900/article/details/57412707 https://docs...
2018-07-19 21:05:00 144
转载 Django基础
Django开发基本流程 参考文献: https://docs.djangoproject.com/en/2.0/intro/tutorial01/ http://www.cnblogs.com/yuanchenqi/articles/6083427.html https://code.ziqiangxuetang.com/django/django-test.html ...
2018-07-01 23:13:00 76
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人