在同步静态的时候 会遇到上诉的问题
django.core.exceptions.ImproperlyConfigured: You’re using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path
在同步静态前需要将下面的代码注释
然后执行命令
同步完成后在打开对应的注释,将下面的注释掉
这样问题就解决了
在同步静态的时候 会遇到上诉的问题
django.core.exceptions.ImproperlyConfigured: You’re using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path
在同步静态前需要将下面的代码注释
然后执行命令
同步完成后在打开对应的注释,将下面的注释掉
这样问题就解决了
下一篇:微信小程序 运算符
Djanggo 运行报错:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 1.3.10.解决办法:1、Uninstall mysqlclient: pip3 uninstall mysqlclient2、Uninstall pymysql: pip3
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M