According to the docs, collectstatic will copy the files from various folders into STATIC_ROOT.
Therefore, you cannot use the STATIC_ROOT
folder in STATICFILES_DIRS
.
Solution: change STATIC_ROOT
to e.g. STATIC_ROOT = '/home/username/projects/site/assets/'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…