          queryset = super(InstanceView, self).get_queryset()
          return queryset.exclude(text='filtered out')
  
  
  class SlugSerializer(serializers.ModelSerializer):
      slug = serializers.Field()  # read only
  
      class Meta:
          model = SlugBasedModel
 
</s> remove     target = models.ForeignKey(ForeignKeyTarget, related_name='sources')
 </s> add     target = models.ForeignKey(ForeignKeyTarget, related_name='sources',
                               verbose_name='Target object') </s> remove                                related_name='nullable_sources')
 </s> add                                related_name='nullable_sources',
                               verbose_name='Optional target object')
class FKInstanceView(generics.RetrieveUpdateDestroyAPIView):
    """
    FK: example description for OPTIONS.
    """
    model = ForeignKeySource


          queryset = super(InstanceView, self).get_queryset()
          return queryset.exclude(text='filtered out')
  
  
class FKInstanceView(generics.RetrieveUpdateDestroyAPIView):
    """
    FK: example description for OPTIONS.
    """
    model = ForeignKeySource


  class SlugSerializer(serializers.ModelSerializer):
      slug = serializers.Field()  # read only
  
      class Meta:
          model = SlugBasedModel
keep keep keep add keep keep keep keep keep
 Metadata for related fields -- added test case. 
rest_framework/tests/test_generics.py