django View获取select2 multiple提交的多选数据

11-05 4 views

在前端使用select2插件进行多选时,self.request.POST接收到的数据如下: Python <QueryDict: {'csrfmiddlewaretoken': ['b...
阅读全文 0

Gunicorn参数说明

10-09 26 views

一、前言 gunicorn是目前使用最广泛的高性能的Python WSGI(WEB Server Gateway interface)服务器,移植自Ruby的Unicorn项目,使用pre-fork worker模式,具...
阅读全文 0

IPython History requires SQLite, your history will not be saved

10-06 8 views

在CentOS7下使用ipython时,发现一warning,提示无法保存历史记录,如下: Shell [root@MiWiFi-R3L-srv ~]# ipython /usr/loc...
阅读全文 1

Python操作Oracle数据库

9-20 7 views

环境介绍 OS:CentOS 7.5 Oracle:11.2.0.3 Python:3.6.6 x86_64 安装依赖 cx_oracle cx_oracle是python与oracle交互的模块,可通过pip安装 ...
阅读全文 0

Jumpserver批量添加资产并授权

9-17 23 views

一、当前环境: jumpserver环境:jumpserver-1.3 接口:http://docs.jumpserver.org/zh/docs/user_api.html python环境:Python 3.6 二、两个脚本的功能 1. ...
阅读全文 4