Re:Backbone.js and Django
by dikbrouwer on Wednesday July 06, 2011 @01:26AM
(#2732686)
You can replace the toDict() method in your model with the values() method on the default manager. For example: Todo.objects.values('id', 'order', 'content', 'done').get(pk=x)
[ Parent
| on HN ]
There are no comments on this comment yet.