Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
When displaying resources for a one-to-many model relationship in Tastypie, I often find myself using a pattern where the "base" (one) model has a URI to its associated collection of "related" (many) models. I wrote this gist which patches the resource classes to automatically add in the URI field, URL pattern, and related list view functions. S…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.