From 0815907cede00de387c996e5bab73ef76872b88b Mon Sep 17 00:00:00 2001 From: fy3047957834 <3047957834@qq.com> Date: Fri, 8 Oct 2021 17:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/views.py b/chart/views.py index e917d99..807fb41 100644 --- a/chart/views.py +++ b/chart/views.py @@ -29,7 +29,7 @@ def out_page(request, page): 'title': db.name, 'Basics': mark_safe(a.html_out_Basics()), 'Senior': mark_safe(a.html_out_Senior()), - 'example_file': db.example_file, + 'example_file': str(BASE_DIR) + db.example_file, 'js': mark_safe(a.js_out()), 'url': url_, "color": mark_safe(a.color_js())