This commit is contained in:
XXAY
2021-09-23 15:02:41 +08:00
parent 25a5f17474
commit 1b5cd78dfb
5 changed files with 27 additions and 27 deletions

View File

@@ -6,8 +6,6 @@ from chart import charts
from chart.models import PlottingLibrary
from chart.tools import *
url_ = 'http://127.0.0.1:8000'
# 处理页面返回问题 页面重定向
def out_page(request, page):
@@ -35,11 +33,7 @@ def out_page(request, page):
'js': mark_safe(a.js_out()),
'url': url_,
"color":mark_safe(a.color_js())
}
return render(request, f'./chart/Basic.html', data)