title: How to use hyperlinks to represent relationships instead of primary keys in Django REST framework
body: <p>I want to get my object index as a "resource_uri" instead id
  I take the usual way I make a model , views , serializers : </p>
  
  <pre><code>class User(BaseModel):
      user = models.ForeignKey(settings.AUTH_USER_MODEL)
      models.CharField()
  
  class UserSerailizers(serializers.ModelSerializer):
      class Meta:
          model = User
          fields = ('id','user','formatted_address')
  classclass UserList(generics.ListCreateAPIView):
      queryset = Image.objects.all()
      serializer_class = UserSerializer
  </code></pre>
  
  <p>when i call &lt; my_domain/user/ > I get this response </p>
  
  <pre><code>{
    id:1,
    name:'toto'
   }
  </code></pre>
  
  <p>but I want to have an answer to this form:</p>
  
  <pre><code>{ 
  'url': my_domain/user/1/
   'name': 'toto'
   }
  </code></pre>
  
  <p>Any thoughts?</p>