title: Django Rest Framework depth based on direction
body: <p>I have two models:</p>
  
  <pre><code>class Organization(models.Model):
      name = models.CharField(max_length=64)
  
  class OrgUser(User):
      organization = models.ForeignKey(Organization, related_name='users')
      role = models.CharField(max_length=1, choices=USER_TYPE_CHOICES)
  
  class UserSerializer(serializers.HyperlinkedModelSerializer):
      class Meta:
          model = OrgUser
          depth = 1
          fields = ('email', 'role', 'organization',)
  
  class OrganizationSerializer(serializers.HyperlinkedModelSerializer):
      users = USerSerializer(many=True)
      class Meta:
          model = Organization
          depth = 1
          fields = ('name', 'users',)
  </code></pre>
  
  <p>I'm using the Django REST Framework and I'm trying to get the following output for the given URLS:</p>
  
  <p><code>GET /organization/</code></p>
  
  <pre><code>{
      'name':'Hello World',
      'users':[{ 'email':'test@gmail.com', 'role':'A' }]
  }
  </code></pre>
  
  <p><code>GET /user/</code></p>
  
  <pre><code>{
      'email':'test@gmail.com',
      'role':'A',
      'organization':{ 'name':'Hello World' }
  }
  </code></pre>
  
  <p>So what's happening is <code>GET /organization/</code> is giving me the users array and the organization information <em>again</em>.</p>
  
  <p>I've been racking my brain setting the <code>depth</code> property on my serializer, but I can't figure it out for the life of me. If someone could please point me in the right direction, I'd greatly appreciate it.</p>