          while root.parent is not None:
              root = root.parent
          return root
  
      @cached_property
      def context(self):
          """
          Returns the context as passed to the root serializer on initialization.
          """
          return getattr(self.root, '_context', {})
 
</s> remove     @cached_property
 </s> add     @property </s> remove from django.utils.functional import cached_property
 </s> add 
    @property
          while root.parent is not None:
              root = root.parent
          return root
  
    @property
      def context(self):
          """
          Returns the context as passed to the root serializer on initialization.
          """
          return getattr(self.root, '_context', {})
keep keep keep keep replace keep keep keep keep keep
 Revert 3288 (#5313)

* Add regression test for #2505. Thanks @pySilver!

* Add regression test for #5087

* Revert "Cached the field's root and context property."

This reverts commit 792005806b50f8aad086a76ff5a742c66a98428e. 
rest_framework/fields.py