Django基础(一)
注意:如果是python3+Django+mysql数据库的话需要在站点web 的__init__,py文件里加上:
1 import pymysql 2 pymysql.install_as_MySQLdb()
提交到服务器然后python3 manage.py makemigrations
然后python3 manage.py migrate
成功.
Django基础(二)
http://www.cnblogs.com/wupeiqi/articles/4508271.html
数据库操作:http://blog.csdn.net/lvze0321/article/details/53321728