标签:roo ase path tin python url 静态文件 setting 静态
settings 文件配置:
STATIC_URL = ‘/static/‘
STATICFILES_DIRS = (
os.path.join(BASE_DIR, ‘static‘),
)
PROJECT_ROOT = os.path.dirname(__file__)
STATICFILES_DIRS = (os.path.join(PROJECT_ROOT, ‘static‘),)
标签:roo ase path tin python url 静态文件 setting 静态
原文地址:http://www.cnblogs.com/chaihy/p/7804532.html