How to process server side parameter sent from jquery datatables using Flask?

前端 未结 2 736
轻奢々
轻奢々 2021-02-15 11:49

I am having some issues in processing the parameters sent by jquery datatables 1.10 when server side processing is enabled. I initialized the datatable in the javascript side li

2条回答
  •  悲哀的现实
    2021-02-15 12:47

    You can use this little nifty package that I found https://github.com/bernii/querystring-parser

    from querystring_parser import parser
    args = parser.parse(request.query_string)
    print args['columns']
    

提交回复
热议问题