[Django]-Tastypie accessing data from non pk field

4👍

Which version of tastypie are you using? 0.9.11 uses override_urls while 0.9.12 (beta) introduced prepend_urls and the cookbook is different for the two version. Chances are you are still using 0.9.11.

See:
http://django-tastypie.readthedocs.org/en/v0.9.11/cookbook.html#using-non-pk-data-for-your-urls

Leave a comment