django - python manage.pycollectstatic - 复制了0个静态文件

标签 django pythonanywhere

美好的一天,我正在尝试在 pythonanywhere 的 bash 上运行命令:下面我粘贴了输出。有什么建议吗?

(science.pythonanywhere.com) 12:36 ~/science.pythonanywhere.com (master)$ python manage.py collectstatic
You have requested to collect static files at the destination location as specified in your settings:
/home/science/science.pythonanywhere.com/static
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes

0 static files copied to '/home/science/science.pythonanywhere.com/static', 130 unmodified.

最佳答案

这意味着没有任何更改,您的所有静态文件已存在于目标中

关于django - python manage.pycollectstatic - 复制了0个静态文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62360157/

相关文章:

python - json.dumps 给我 AttributeError : 'str' object has no attribute 'get'

django - key 错误 : 'collectstatic' When deploying the Django application to pythonanywhere

javascript - 为什么我的 Django 异常处理不起作用

django - 如何在没有迭代的情况下为查询集从多对多中删除对象?

python - -bash : ./manage.py:权限被拒绝

python - Django: SystemError: <built-in function uwsgi_sendfile> 返回了一个带有错误集的结果

Django 在模板中分隔数千个

python - Django 管理命令并将自定义参数发送到 post_save 信号

python - 没有名为请求 PythonAnywhere 错误的模块

PythonAnywhere:django.db.utils.OperationalError:没有这样的表: