djangosnippets.org: Latest snippets tagged with 'inherit'http://djangosnippets.org/tags/inherit/2009-01-27T11:38:43.993877-06:00JSONable model base
2009-01-27T11:38:43.993877-06:00girasquidhttp://djangosnippets.org/snippets/1299/<p>This is a basic stub for a model that you can use to easily add customizable JSON serialization to your models. Make your model inherit from JsonableModel, and then define the models/yourmodel.json template with whatever information from the model that you want to make available.</p>
Freely redistributable