toastdriven/django-tastypie — pull request #956 by illumin-us-r3v0lution (2013-06-09 11:53:00+00:00)
Title: added detail_uri_name to Non-PK URL example

This is a crucial detail missing that ought to be included in the example. The resource_uri generated from the example and included in the response is inherently incorrect, given the desired result. EG, if you want to use a non-pk you want to query a ModelResource like this, you'll want the resource_uri updated. If you don't, hopefully you'll notice that the example includes meta.detail_uri_name :)