摘要: 1. 安装PyMySQL sudo install python3-pymysql 2. 配置 settings.py DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': ('DATABASE_NAME') 阅读全文
posted @ 2017-07-12 13:36 HeapOverflow 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 官方给出的安装方法: Install Django¶ You’ve got three easy options to install Django: Install an official release. This is the best approach for most users. Ins 阅读全文
posted @ 2017-07-12 10:44 HeapOverflow 阅读(259) 评论(0) 推荐(0) 编辑