Django: reconstruct structured parameters sent via $.post

前端 未结 3 2055
忘掉有多难
忘掉有多难 2021-02-02 04:49

I\'m sending an Ajax request (with jQuery) with structured post data:

$.post(
    myUrl,
    {
         items: [{code: \'a\', description: \'aaa\'},
                     


        
3条回答
  •  北荒
    北荒 (楼主)
    2021-02-02 05:10

    I made special library for Django/Python to handle structured data sent through requests. You can find it on GitHub here.

提交回复
热议问题