摘要:
点击查看代码 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': "AaronCool", # 你的数据库名称 'USER': "root", # 你的数据库用户名 'PASSWORD': "Aaron20 阅读全文
摘要:
路由里加入各种路径 记得头部加入from django.conf.urls import url, include 不然url无法识别 view文件内渲染静态文件 点击查看代码 TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.D 阅读全文
摘要:
python2 -m pip install 解决下载慢问题 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip config set install.trusted-host mirrors.al 阅读全文