I want to convert string to list in django template :
Data :
{u'productTitle': u'Gatsby Hard Hair Gel 150g', u'productPrice': 0.0, u'productMRP': 75.0, u'hasVariants': 0, u'productSite': u'http://www.365gorgeous.in/', u'productCategory': u'', u'currency': u'INR', u'productURL': u'http://www.365gorgeous.in/gatsby-hard-hair-gel-300g-1.html', u'productDesc': u'A Water type hair gel with is hard setting and gives hair a firm hold It is non sticky hard setting and smooth to the touch Firm hold with wet look spikes', u'productSubCategory': u'', u'availability': 0, u'image_paths': u'["full/548bc0f93037bd03340e11e8b18de33b414efbca.jpg"]'}
I want to extract image paths from the above dict but image paths are in string u'["full/548bc0f93037bd03340e11e8b18de33b414efbca.jpg"]'
is there is any way i can convert it into ["full/548bc0f93037bd03340e11e8b18de33b414efbca.jpg"]
inside template ... i Know it can be done inside the view but can i do this in template....