Guest User

Untitled

a guest
Jul 15th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. manager_item = request.POST.getlist(manager_type_item)
  2.  
  3. ['{"id":"1","title":"Bedroom"},{"id":"2","title":"Taps"}, {"id":"3","title":"Living Room"}']
  4.  
  5. index = 0
  6. for index, item in enumerate(json.loads(manager_item)):
  7. print(item['id'])
  8. print(item['title'])
Add Comment
Please, Sign In to add comment