code: def add_view_data(self, view_data):
          
          self.register_view(view_data.view)
          v_name = get_view_name(self.options.namespace, view_data.view)
          self.view_name_to_data_map[v_name] = view_data
docs: Add view data object to be sent to server