News for hackers. Stuff that matters.
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)

There are no comments on this comment yet.