class ParameterisedHyperlinkedIdentityField(HyperlinkedIdentityField):
    """
    Represents the instance, or a property on the instance, using hyperlinking.
    lookup_fields is a tuple of tuples of the form:
        ('model_field', 'url_parameter')
    """
lookup_fields = ('pk', 'pk'),

def __init__(self, *args, **kwargs):
    self.lookup_fields = kwargs.pop('lookup_fields', self.lookup_fields)
super(ParameterisedHyperlinkedIdentityField, self).__init__(*args, **kwargs)
django-rest-framework HyperlinkedIdentityField with multiple lookup args