Or you could create restful APIs simply with django-piston, django-tastypie or (my new personal favorite) django-dagny.
Yes, and there is already a decent wrapper for backbone and tastypie http://joshbohde.com/blog/backbonejs-and-django This is my personal favorite.
Thanks for the recommendation! I'm glad you like it.
As far as wrappers for backbone and tastypie, I think https://github.com/PaulUithol/backbone-tastypie is a pretty good starting point, and a little more complete than what I wrote there.
Oh, I thought they were related until now. This one is actually what I _use_. Yours is what came up in a search.
Nice tutorial, thanks!
I'll throw Django REST Framework in the mix there as well: http://django-rest-framework.org/
Why? See http://django-rest-framework.org/howto/alternativeframeworks...
Re:Backbone.js and Django
by joshontheweb on Tuesday July 05, 2011 @08:44PM
(#2732142)
I was going to suggest this as well. Each resource can be a class that has a function defined for each method.
Just inherit from View, and define get(), post(), etc.