adding Explorable JSON and camelCase serializer

poswald 2012-02-13 07:34:11 -08:00
parent 26d659164d
commit 59aed34f99

@ -33,6 +33,9 @@ Stuff that needs to change
8. Drop support for unnamed args in URLs filtering as pk. Better to always be explicit in the urlconf. 8. Drop support for unnamed args in URLs filtering as pk. Better to always be explicit in the urlconf.
9. `InstanceMixin` needs to disappear. 9. `InstanceMixin` needs to disappear.
10. `.CONTENT` probably needs to disappear. To confusing to have that as well as `.DATA` and `.FILES`. 10. `.CONTENT` probably needs to disappear. To confusing to have that as well as `.DATA` and `.FILES`.
11. Explorable JSON: The default JSON output could have a section for placing meta information either by default or by swapping in a new serializer. This is common in REST API's as a place to give clients things such as type information, pagination links, etc... Two approaches seem to make sense: a Tastypie compatible approach ( with a meta dict and objects list) or something like the well-regarded foursquare API (with meta, and response dicts) (@poswald)
12. Support a camelCase serializer to be extra JavaScript-friendly (@poswald)
Stuff that might not be quite perfect, but will do for now Stuff that might not be quite perfect, but will do for now
========================================================== ==========================================================