Tagged Questions
9
votes
4answers
1k views
Should I include HTML markup in my JSON response?
In an e-commerce site, when adding an item to a cart, I'd like to show a popup window with the options you can choose. Imagine you're ordering an iPod Shuffle and now you have to choose the color and ...
1
vote
1answer
266 views
Django - Using a JSON string as an attribute map to avoid subclassing
I have a Django model called Entity. Different types of Entity have different attributes (e.g. some have a currency associated with them, others don't). I'd rather not have to create a new subclass ...