37,719
社区成员
发帖
与我相关
我的任务
分享
STATICFILES_DIRS = (
os.path.join(os.path.dirname(__file__), '../static/').replace('\\','/'),
os.path.join(os.path.dirname(__file__), '../static222/').replace('\\','/'),
)
STATICFILES_DIRS 是一个元组,可以添加多个路径的。
另外记得在urls.py里面配置好对应的url