摘要: 用了 Django 一段时间后,发现存在各种各样的问题 Django 2.1 用户认证系统authenticate()一直返回None 解决方法: (1) User.objects.create_user(username=username,password=password) (2) is_act 阅读全文
posted @ 2022-02-04 19:09 emanlee 阅读(123) 评论(0) 推荐(0)
摘要: Traceback (most recent call last): File "D:\Program Files\python_3_6_4\lib\wsgiref\handlers.py", line 138, in run self.finish_response() File "D:\Prog 阅读全文
posted @ 2022-02-04 16:36 emanlee 阅读(526) 评论(0) 推荐(0)
摘要: 使用 pycharm 调试 Python django web项目(单步调试) PyCharm 专业版: 先做好简易的网站: views.py from django.shortcuts import HttpResponse def index(request, year, month): pri 阅读全文
posted @ 2022-02-04 15:59 emanlee 阅读(951) 评论(0) 推荐(0)