tomchristie/django-rest-framework — pull request #688 by limnick (2013-02-27 01:30:02+00:00)
Title: Support extra kwargs in url paths

Currently, having more than one kwarg in your api paths causes reverse() to fail since only the pk and/or slug argument is passed to reverse in the kwargs.

I've attached a test case demonstrating the problem and added a couple of lines to fix it for the case of the HyperlinkedIdentityField.

It probably also needs to be fixed for HyperlinkedRelatedField, which I'd be happy to do if this is an acceptable solution to this bug.