Python Django 怎么忽略某条路由的输出?

Python Django 怎么忽略某条路由的输出?

我写了个js插件,是平时学习vue做实验的,就是前台每秒发一次ajax请求,确定文件有没有被改变,如果改变了。就刷新一次页面,这样就免去了手动刷新。

虽然js调试方便了,但是服务器端控制台变的特别烦人:每一秒输出一条信息。

[22/Jul/2021 03:09:06] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:07] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:08] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:09] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:10] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:11] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:12] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:13] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

[22/Jul/2021 03:09:14] "POST /sql/html_demo/v1_html/js888 HTTP/1.1" 200 3

请问有什么办法能不让这条路由规则输出吗?

以上是 Python Django 怎么忽略某条路由的输出? 的全部内容, 来源链接: utcz.com/p/938037.html

回到顶部