django 学习

获取django

1. pip install Django==2.1.5
2. git clone https://github.com/django/django.git

教程(投票)
https://docs.djangoproject.com/zh-hans/2.1/intro/tutorial01/

遇到的问题总结:

  1. 应该是http 而不是https
    在这里插入图片描述
  2. 创建superuser时密码无法输入的问题
    其实不是无法输入,而是没有显示,好坑啊,照常输入就可以了。

根据投票教程完成的demo
https://github.com/obf1313/polls.git

打包工具: setuptools

pip install setuptools 

3.使用msyql
pip install mysqlclient

参考: https://blog.csdn.net/qq_39198486/article/details/81276575

猜你喜欢

转载自blog.csdn.net/obf13/article/details/86014626