文章詳情頁
python - django-blog-zinnia搭建博客無法進(jìn)入后臺?
瀏覽:150日期:2022-07-24 16:13:01
問題描述
django-blog-zinnia搭建博客進(jìn)入后臺時(shí)報(bào)出AttributeError: ’WSGIRequest’ object has no attribute ’user’錯(cuò)誤
代碼

其他地方為創(chuàng)建項(xiàng)目默認(rèn)代碼
問題解答
回答1:請確認(rèn)你是否已經(jīng)創(chuàng)建了用戶 python manage.py createsuperuser
相關(guān)文章:
1. javascript - immutable配合react提升性能?2. 如何設(shè)置一個(gè)無限循環(huán)并打破它。(Java線程)3. python小白 自學(xué)看書遇到看不懂的地方4. javascript - sublime快鍵鍵問題5. macos - 如何徹底刪除mac自帶的apache和php6. docker 17.03 怎么配置 registry mirror ?7. shell - mysql更新錯(cuò)誤8. DADB.class.php文件的代碼怎么寫9. php對mysql提取數(shù)據(jù)那種速度更快10. 實(shí)現(xiàn)bing搜索工具urlAPI提交
排行榜

熱門標(biāo)簽
網(wǎng)公網(wǎng)安備