文章详情页
python - django-blog-zinnia搭建博客无法进入后台?
浏览:213日期:2022-07-24 16:13:01
问题描述
django-blog-zinnia搭建博客进入后台时报出AttributeError: ’WSGIRequest’ object has no attribute ’user’错误
代码

其他地方为创建项目默认代码
问题解答
回答1:请确认你是否已经创建了用户 python manage.py createsuperuser
相关文章:
1. 创建mysqli对象与数据库连接 - 出错2. linux - 阿里云服务器上的mysql服务在客户端只能通过ssh证书连接后才能使用3. 急急国王什么梗 我是急急急急急急国王梗内涵出处介绍4. python - 请问matplotlib.pyplot.save的路径如何更改5. python - flask post提交timestamp不能作为参数,这是为什么?6. python 中文乱码问题7. php - mysql中,作为主键的字段,用int类型,是不是比用char类型的效率更高?8. 登录mysql-front出现以下错误9. mysql - 博客文章标签表结构设计问题10. python - TypeError: printBB() takes 0 positional arguments but
排行榜

网公网安备