      urls = 'rest_framework.tests.hyperlinkedserializers'
  
      def setUp(self):
          """
          Create 1 OptionalRelationModel intances.
          """
          OptionalRelationModel().save()
          self.objects = OptionalRelationModel.objects
          self.detail_view = OptionalRelationDetail.as_view()
          self.data = {"url": "http://testserver/optionalrelation/1/", "other": None}
 
</s> remove         Create 3 BasicModel intances.
 </s> add         Create 3 BasicModel instances. </s> remove         Create 3 BasicModel intances.
 </s> add         Create 3 BasicModel instances.
        Create 1 OptionalRelationModel instances.
      urls = 'rest_framework.tests.hyperlinkedserializers'
  
      def setUp(self):
          """
        Create 1 OptionalRelationModel instances.
          """
          OptionalRelationModel().save()
          self.objects = OptionalRelationModel.objects
          self.detail_view = OptionalRelationDetail.as_view()
          self.data = {"url": "http://testserver/optionalrelation/1/", "other": None}
keep keep keep keep replace keep keep keep keep keep
 Fixed misspelled remarks in comments. 
rest_framework/tests/hyperlinkedserializers.py