摘要: HTML模板配置 1.静态文件路径设置(settings.py): STATIC_URL = '/static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')] 2.html模板语言: for django 1.8: {% load st 阅读全文
posted @ 2020-04-26 15:20 Alex-GCX 阅读(411) 评论(0) 推荐(0) 编辑