会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
MoonXu
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
django
TypeError: include() got an unexpected keyword argument 'app_name'
摘要:项目中的参数app_name='blog'去掉,在app的urls中添加app_name='blog'
阅读全文
posted @
2020-04-28 23:31
MoonXu
阅读(751)
评论(0)
推荐(0)
127.0.0.1:8000/admin
摘要:登录界面出错 C:\Python38-32\Lib\site-packages\Django-3.1.dev20200409064531-py3.8.egg\django\contrib\admin\templates 中的admin和registration连个文件夹复制到E:\django_co
阅读全文
posted @
2020-04-28 22:08
MoonXu
阅读(3372)
评论(0)
推荐(0)
django 'staticfiles' is not a registered tag library.
摘要:.html文件中{% load staticfiles %}改为{% load static %}
阅读全文
posted @
2020-04-28 21:53
MoonXu
阅读(3294)
评论(0)
推荐(1)
公告