python
leiiiii
HI!
展开
-
python-库安装过程中遇见的问题
Error: Did you install mysqlclient? mysqlclient-1.4.6-cp38-cp38-win_amd64.whl is not a supported wheel on this platform. Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com等问题解决办法原创 2020-03-15 13:31:12 · 550 阅读 · 0 评论 -
python-flask模板应用中遇见的问题(一):ckeditor
获取文本数据时,按照官方文档,使用getData()方法,一直提示错误。最后在网上碰到类似问题解决办法,如下所示: var my_editor; ClassicEditor .create( document.querySelector( '#editor' ),{ language:"zh-cn" } ) .then( ed...原创 2018-04-11 09:45:08 · 624 阅读 · 0 评论 -
python-flask模板应用中遇见的问题(二):Jinja2中转义html
渲染 HTML 格式内容时使用 | safe 后缀,其目的是告诉 Jinja2 不要转义 HTML 元素。{{ post.body_html | safe }}原创 2018-04-11 09:52:16 · 1776 阅读 · 0 评论