I have an output like this.
data = <QueryDict: {u'product_name': [u'L4'], u'price': [u''], u'product_description': [u''], u'id': [u"[u'1']"], u'product_status': [u'1']}>
Honestly I have no idea how the output is like this but if I want to get the id.
I used something like this (data['id'][0])
but this isn't getting my anything and if I use (data['id'])
this is what I get u'[u\\'1\\']
When I post this kind of data, I get such an error
invalid literal for int() with base 10: '['