title: django-rest-framework HyperlinkedIdentityField with multiple lookup args
body: <p>I have the following URL in my urlpatterns:</p>
  
  <pre><code>url(r'^user/(?P&lt;user_pk&gt;[0-9]+)/device/(?P&lt;uid&gt;[0-9a-fA-F\-]+)$', views.UserDeviceDetailView.as_view(), name='user-device-detail'),
  </code></pre>
  
  <p>notice it has two fields: <code>user_pk</code>, and <code>uid</code>.  The URL would look something like: <code>https://example.com/user/410/device/c7bda191-f485-4531-a2a7-37e18c2a252c</code>.</p>
  
  <p>In the detail view for this model, I'm trying to populate a <code>url</code> field that will contain the link back to the model.  </p>
  
  <p>In the serializer, I have:</p>
  
  <pre><code>url = serializers.HyperlinkedIdentityField(view_name="user-device-detail", lookup_field='uid', read_only=True)
  </code></pre>
  
  <p>however, it's failing I think because the URL has two fields:</p>
  
  <blockquote>
    <p>django.core.exceptions.ImproperlyConfigured: Could not resolve URL for hyperlinked relationship using view name "user-device-detail". You may have failed to include the related model in your API, or incorrectly configured the <code>lookup_field</code> attribute on this field.</p>
  </blockquote>
  
  <p>How do you use a <code>HyperlinkedIdentityField</code> (or any of the <code>Hyperlink*Field</code>) when the URL has two or more URL template items? (lookup fields)?</p>