how to POST list of objects in django? -
sorry i'm new django, need transfer list post in django, problem list elements need complex objects, dictionaries every list entry should have first name , last name parameters. know how make list of simple values :
<input type="hidden" name="alist" value="1" /> <input type="hidden" name="alist" value="2" /> <input type="hidden" name="alist" value="3" />
and :
alist = request.post.getlist('alist')
what best practice of doing this? thanks
it's not @ clear want do, perhaps list json , post that.
Comments
Post a Comment