它正在寻找一个名为“ static”的文件夹,该文件夹位于settings.py旁边,即在项目文件夹中,而不是在git repo的根目录下。
git root/git root/{app name}git root/{app name}/settings.pygit root/{app name}/static/ <- this is what you're missing请注意,git不会跟踪空文件夹,因此,如果它为空,则必须在其中放置一个空白文件。或者,删除
STATICFILES_DIRS设置,直到需要它为止。



