(self, fields, fetch_related_data=False)
Process the plugin data.

        Override if need customisations.

        Beware, this is not always called.
Process the plugin data.
Process the plugin data .
def _process_plugin_data(self, fields, fetch_related_data=False):
        """Process the plugin data.

        Override if need customisations.

        Beware, this is not always called.
        """
        for field, default_value in fields:
            try:
                setattr(
                    self.data,
                    field,
                    self.plugin_data.get(field, default_value)
                )
            except Exception:
                setattr(self.data, field, default_value)
def _process_plugin_data ( self , fields , fetch_related_data = False ) : for field , default_value in fields : try : setattr ( self . data , field , self . plugin_data . get ( field , default_value ) ) except Exception : setattr ( self . data , field , default_value )