I am a newbie to django.I am designing a rest ful  api. In my response I am
getting something like this

{ "id":"1" , " type ": "thin,tall,round", " "name": " foo" }

But I want something like this

{ "id":"1" , " type ": ["thin","tall","round"] , " "name": " foo" }

What model field type should I use to achieve this or any other approach.
This may be very small query. But it will help me a lot
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to