django+wxxcx5

settings.py

1

STATICFILES_DIRS = [
	os.path.join(BASE_DIR,"XXX1","static"),
	os.path.join(BASE_DIR,"XXX2","static"),
]

2
每个app下建立相同文件夹
xxx->static->xxx->

发布了12 篇原创文章 · 获赞 0 · 访问量 189

猜你喜欢

转载自blog.csdn.net/weixin_44675051/article/details/104255427