def _resolve_path(obj, path=None):
        """Resolve django-like path eg. object2__object3 for object
        Args:
            obj: The object the view is displaying.
            path (str, optional): Description
        Returns:
            A oject at end of resolved path
        """
        if path:
            for attr_name in path.split('__'):
                obj = getattr(obj, attr_name)
        return obj
def _resolve_path ( obj , path = None ) : if path : for attr_name in path . split ( '__' ) : obj = getattr ( obj , attr_name ) return obj
Resolve django-like path eg. object2__object3 for object
        Args:
            obj: The object the view is displaying.
            path (str, optional): Description
        Returns:
            A oject at end of resolved path